Try this to get the error on the query:
$result = mysql_query($sql2) or die(mysql_error() . "
\r\n" . $sql2);
__________________
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.
|