Page 1 of 1

parse error on an SQL variable set.

Posted: Sun Feb 23, 2003 9:59 pm
by jidospod
Im trying to update some values in a current sql database, I am setting this for the sql call, but Im getting a parse error back and for the life of me cannot find it, Im sure its something simple I've overlooked. Any feedback would be greatly appreciated. Thanks.

Code: Select all

$sql="UPDATE users set emailaddr='". $emailaddr ."', password='". md5($password) ."', sec_question='". $sec_question ."', sec_answer='". $sec_answer ."', location='". $location ."',hobbies='". $hobbies ."',website='". $website ."' where username='". $username ."'");

Posted: Sun Feb 23, 2003 11:00 pm
by jidospod
answered my own question heh