MySQL Forums
Forum List  »  Newbie

Re: right syntax for the use of near: insert into
Posted by: Chad Bourque
Date: April 22, 2010 08:44AM

Alexander,

If you check the manual for insert, you'll see that the values keyword goes between your field list and value list:

$sqlinsert = "INSERT INTO werte ('benutzername', 'passwort') VALUES ('$benutzername', '$pass')";

Code shortened for brevity, but you get the idea I hope.

HTH,
Chad

Options: ReplyQuote


Subject
Written By
Posted
Re: right syntax for the use of near: insert into
April 22, 2010 08:44AM


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.