RE: [PHP-DB] parse for SQL statement

From: Date: Fri, 27 Oct 2000 17:41:42 +0000
Subject: RE: [PHP-DB] parse for SQL statement
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-4000@lists.php.net to get a copy of this message
Hi 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") . ")")); > . ")")); delete one the line above and it should work fine... Cheers, Matthias

« previous php.db (#4000) next »