parse for SQL statement

From: Date: Fri, 27 Oct 2000 17:20:51 +0000
Subject: parse for SQL statement
Groups: php.db 
Request: Send a blank email to php-db+get-3999@lists.php.net to get a copy of this message
below code give me an error >Parse error: parse error in /home/mark/public_html/dictionary/input.php on line 47 i believe it is the syntex because I just modified it from working code. any suggestions? or where can I find a good example like my case on the web? thanks mark $GLOBALS[newWordID] = db_insertid(db_query( "INSERT INTO WORDS (word,spelling1,spelling2,definition,email,Cdate," . "status,who_submit) " . "VALUES ('$HTTP_POST_VARS[word]','" . '$HTTP_POST_VARS[spelling1]','" . '$HTTP_POST_VARS[spelling2]','" . '$HTTP_POST_VARS[definition]','" . '$HTTP_POST_VARS[form_email]','" . time() . "," . "'P','" // status . $confirm_hash // . "'," // . ($GLOBALS[form_mail_site]?"1":"0") . "," // . ($GLOBALS[form_mail_va]?"1":"0") . ")")); . ")")); // send mail

« previous php.db (#3999) next »