Hi,
again this line is causing problems:
$h = mysql_connect('localhost',constant("mysql_user"),constant("mysql_password"))
;
Aparantly a parse error. Idaes?
Is there a reason you're using constant()??
Try: $h = mysql_connect('localhost', mysql_user, mysql_password);
One thing to note about parse errors. If PHP says you have a parse error on line 8 (for example), that means there is an error somewhere before OR on line 8. The line PHP gives is just the point where it realized something was wrong, but the cause could be on a previous line.
-- ---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
php|architect: The Magazine for PHP Professionals – www.phparch.com
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php