This script worked perfect until i moved it to a different host. Getting this error:
Code: Select all
Warning: mysql_numrows(): supplied argument is not a valid MySQL result resource in C:\Inetpub\vhosts\levelznightclub.com\httpdocs\index.php on line 285
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\Inetpub\vhosts\levelznightclub.com\httpdocs\index.php on line 357
Warning: mysql_numrows(): supplied argument is not a valid MySQL result resource in C:\Inetpub\vhosts\levelznightclub.com\httpdocs\index.php on line 362
Here are the lines from the script that are listed above. If you need other information please let me know!!
Line 285:
Code: Select all
$num=mysql_numrows($result);
Code: Select all
if (!mysql_num_rows($result)) {
Code: Select all
$num2=mysql_numrows($result2);