View Single Post
Old 11-24-2008, 06:39 AM   #2 (permalink)
tony
The Addict
 
tony's Avatar
 
Join Date: Aug 2008
Posts: 336
Thanks: 8
tony is on a distinguished road
Default

I can test the code since I don't have a database I can test it with now, but some i think you can find out more if you omit the '@' from this line: $res = @mysql_query($sql) or die(mysql_error());

It omits the server from sending an error, if there is any, in the query to the database.
tony is offline  
Reply With Quote