Remember14a@xxxxxxx 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
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php