Re: Inserting into two tables at same time
To protect against sql injection, you should insert user data only after running it through mysqli_real_escape_string(). Then assemble the two Insert queries and run them in turn.
Subject
Written By
Posted
February 22, 2014 10:37PM
Re: Inserting into two tables at same time
February 22, 2014 10:58PM
February 24, 2014 07:06AM
February 24, 2014 10:42AM
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.