...

View Full Version : Parse error



avelonx
07-27-2002, 11:37 PM
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, 12: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, 03:51 PM
still getting a parse error

EthanX
07-28-2002, 05: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, 06:03 PM
one more thing ..
what is the mysql query to create a new row in a table

Spookster
07-28-2002, 06:09 PM
That's what INSERT does.

EthanX
07-28-2002, 06:10 PM
yep :D



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum