Justtechjobs.com Find a programming school near you






Online Campus Both


php-db | 2000121

[PHP-DB] Continued parse error problems From: Mark Christenson (mark.christenson <email protected>)
Date: 12/11/00

I am continuing to get funky errors with my php install. I get the
feeling that something isn't parsing correctly, but have no idea why.
The following has cropped up, and in the web page from the E in DIE
through the end of the line is in bold face:

phptest2.php: parse error, expecting `'(" on line 21
mysql_connect($hostname, $username, $password) OR DIE("Unable to
connect to database");

I also get the following:

phptest.php: parse error on line 10
$dbconn = pg_connect("user=postgres dbname=test");

In the second case, the second double quote, the close paren, and the
semi-colon are in boldface.

Help help help!

Mark

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-db-unsubscribe <email protected>
For additional commands, e-mail: php-db-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>