Hello, I recently switched host and a script that I had working on the old host now breaks on the new host because the old host had register_globals turned off.
Since I have no idea how to go about this, I was wondering if it would be easy to convert the script into one that works with register_globals turned on, since it is going to disappear in PHP6 I've read on the manual.
The website is: eurovectopcar.com
The errors I see right now are:
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/eurovect/public_html/auto/carview.php on line 25
and:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/eurovect/public_html/auto/carview.php on line 140
and those lines are:
$num_rows = mysql_num_rows($result);
while ($image_row =mysql_fetch_array ($result) )
Thanks for any ideas.