altrock182182
New Member
- Messages
- 40
- Reaction score
- 0
- Points
- 0
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/altrock1/public_html/carsforsale.php on line 35
Can't imagine what's up. Worked fine before the upgrade, etc.
I figured it might be the LIMIT attribute since it's new code around the same time as the upgrade, but I took it back out and it's still not working.
It's probably some stupid semicolon, but I can't figure it out D:
PHP:
34: $result = mysql_query("SELECT * FROM ".$database_table." WHERE `sold`=0 LIMIT ".$lowerlimit.",".$upperlimit);
35: while($row = mysql_fetch_array($result))
Can't imagine what's up. Worked fine before the upgrade, etc.
I figured it might be the LIMIT attribute since it's new code around the same time as the upgrade, but I took it back out and it's still not working.
It's probably some stupid semicolon, but I can't figure it out D: