MySQL Forums
Forum List  »  Source, Builds, Binaries

INSERT INTO WHERE ???
Posted by: Marc Talbot
Date: June 16, 2006 09:01AM

I need to insert data in a table in a specific cell. Can you help me. I try it in many way but i don't know where put de WHERE.

Can you help me please

$sql_req = "INSERT INTO table (`champ`) VALUES ('".$_POST["champ"]."') WHERE nom=\"".$_SESSION["usager"]."\" ";

Options: ReplyQuote


Subject
Views
Written By
Posted
INSERT INTO WHERE ???
22863
June 16, 2006 09:01AM
9240
June 16, 2006 11:59AM


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.