View Single Post
  #6 (permalink)  
Old 2004-06-27, 08:47 AM
Xnuiem's Avatar
Xnuiem Xnuiem is offline
Senior Member
 
Join Date: May 2004
Location: DFW, Texas
Posts: 1,104
Xnuiem will become famous soon enough
Send a message via Yahoo to Xnuiem
Default

A good way to find out MySQL issues is to die with error.

Example:

For every result/query set, use "or die(mysql_error())" at the end.

Ergo, $sql = mysql_query("select * from users) or die(mysql_error());

This way it will die and print the error.
__________________
I rarely give code examples.
No, I have never used IIS or Windows of any kind as a web server. Get a real OS!
Please don't PM me, I won't respond.
Reply With Quote