I believe # is a valid comment character (
http://www.php.net/manual/en/languag...x.comments.php ), but // seems to be the preferred style for one-liners.
Here's your parse error:
Code:
die ('Can't use foo : ' . mysql_error());
You need to escape the quote in can't .
-r