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.
|