View Single Post
Old 06-23-2004, 04:17 PM   #7 (permalink)
idx
Senior Grasshopper
 
idx's Avatar
 
Join Date: Jun 2003
Location: FL
Posts: 317
idx is on a distinguished road
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
idx is offline   Reply With Quote