$result = mysql_query($conn, $query);
should be
$result = mysql_query($query, $conn);
PHP: mysql_query - Manual
__________________
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.
|