View Full Version : Parse error
avelonx
07-28-2002, 12:37 AM
Plz help
parse error:
$query = "INSERT authorize(username,password,accesslevel,hp,fire,summon,potion,ice,email,id) VALUES ('" . $uname . "','" . crypt($pword,$this->salt) . "', '". 1000 . "', '". 10 . "', '". 2 . "', '". 6 . "' , '". 5 . "','". 0 ."' , "' . $email ."','" . $randval . "')";
EthanX
07-28-2002, 01:15 AM
$query = "INSERT authorize(username,password,accesslevel,hp,fire,su
mmon,potion,ice,email,id) VALUES ('" . $uname . "','" . crypt($pword,$this->salt) . "', '". 1000 . "', '". 10 . "', '". 2 . "', '". 6 . "' , '". 5 . "','". 0 ."' , "' . $email ."','" . $randval . "');"
avelonx
07-28-2002, 04:51 PM
still getting a parse error
EthanX
07-28-2002, 06:42 PM
$query = "INSERT authorize username,password,accesslevel,hp,fire,summon,potion,ice,email,id) VALUES ('" . $uname . "','" . crypt($pword,$this->salt) . "', '". 1000 . "', '" . 10 . "', '" . 2 . "', '" . 6 . "', '" . 5 . "','" . 0 . "' , '" . $email ."','" . $randval . "');"
avelonx
07-28-2002, 07:03 PM
one more thing ..
what is the mysql query to create a new row in a table
Spookster
07-28-2002, 07:09 PM
That's what INSERT does.
EthanX
07-28-2002, 07:10 PM
yep :D
vBulletin® v3.8.2, Copyright ©2000-2009, Jelsoft Enterprises Ltd.