I have a user with a double-opt in mailing list.
After upgrading mysql to 5.0 this user is unable to send a mailing from his script. This is the error he gets:
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/user/public_html/admin/newmail.php on line 431
I looked at line 431 of that page and see this:
Can I edit that line to make the script work? If so, how do I edit it?
After upgrading mysql to 5.0 this user is unable to send a mailing from his script. This is the error he gets:
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/user/public_html/admin/newmail.php on line 431
I looked at line 431 of that page and see this:
Code:
$rows=mysql_num_rows($sql);