Re: Adding a filename to a MySql database
Posted by:
Rick James
Date: November 23, 2009 10:28AM
Is your question about doing 2 inserts, each into a different table? Call mysql_query twice.
Is your concern about transactional semantics? The use InnoDB and make 4 calls, the first being 'START TRANSACTION' and the last being 'COMMIT'.
My comment had to do with the common error of not escaping special characters when constructing an INSERT statement.
Subject
Written By
Posted
November 20, 2009 05:58AM
November 21, 2009 11:01AM
November 23, 2009 08:27AM
Re: Adding a filename to a MySql database
November 23, 2009 10:28AM
November 23, 2009 11:10AM
November 23, 2009 09:14PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.