MySQL Forums
Forum List  »  Newbie

right syntax for the use of near: insert into
Posted by: Alexander Schunk
Date: April 22, 2010 08:13AM

Hello,

i am getting the error 'check the manual for the right use of near' when using insert into command with php:

$sqlinsert = "INSERT INTO werte VALUES('benutzername', 'passwort', 'name', 'vorname', 'Geburtsdatum', 'strasse', 'plz', 'ort', 'email')('$benutzername', '$pass', '$name', '$vorname', '$Geburtsdatum', '$strasse', '$plz', '$ort', '$email')";
$ergebnissql = mysql_query($sqlinsert, $verbindung);
if(!$ergebnissql){
echo 'Fehler beim Eintragen in Datenbank' . mysql_errno() . mysql_error();
die("Fehler beim Eintragen in Datenbank");
}

I have already browsed the forum for other messages but cannot detect the error.

Options: ReplyQuote


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


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.