Re: error of check box form

From: Date: Wed, 08 Sep 2004 11:34:09 +0000
Subject: Re: error of check box form
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-36106@lists.php.net to get a copy of this message
Remember14a@aol.com wrote:
Any guidance to the error , please. Resubmitting, ------------------------------------------------------------------------------ --- Warning: Unexpected character in input: '\' (ASCII=92) state=1 in C:\HOME\doctorbush\check.php on line 11 Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in C:\HOME\doctorbush\check.php on line 73 ------------------------------------------------------------------ $db_host = \"localhost\"; $db_pass = \"\"; $db_user = \"\"; $db_name = \"\"; print \"ERROR - failed to create connection: \" . >>> $sql = \"DELETE FROM note WHERE note_id = $item[$i];\"; $sql = \"SELECT note_id,film_id,LEFT(text,32) AS item_name FROM >>> note ORDER BY film_id ASC;\";
Remove the \ characters in the lines above. $db_host = "localhost"; etc... and read this http://us2.php.net/manual/en/language.types.string.php -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|architect: The Magazine for PHP Professionals – www.phparch.com

« previous php.db (#36106) next »