folgende PHP anweisung:
führt zur folgenden Ausgabe:
wen Ihr mehr Infos benötigt, sagt mir bescheid..
ich hab kA woran das liegt..
PHP-Code:
<?php
$sql_query = mysql_query('INSERT INTO `xmove_user` (UserName, Kennwort, Nachname, Vorname, EMail, UserGroup) VALUES ('.$username.',md5('.$kennwort.'),'.$nachname.','.$vorname.','.$email.',"user")');
if(!$sql_query){
die('Ungültige Abfrage:
' . mysql_error());
}
?>
Code:
Ungültige Abfrage: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '@test,"user")' at line 1
ich hab kA woran das liegt..
Kommentar