I get errors coming up on the page when I search for items that there is no match for. Are these normal? Can I suppress them?
e.g. enter http://cheapest-bargain.co.uk/search.php?q=Impossible+Item+Now
which gives me
Warning: mysql_query() [function.mysql-query]: Unable to save result set in /home/server5/public_html/partnersite-cheapest-bargain.co.uk/includes/database.php on line 17
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/server5/public_html/partnersite-cheapest-bargain.co.uk/includes/database.php on line 21
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/server5/public_html/partnersite-cheapest-bargain.co.uk/includes/database.php on line 26
Warning: Cannot modify header information - headers already sent by (output started at /home/server5/public_html/partnersite-cheapest-bargain.co.uk/includes/database.php:17) in /home/server5/public_html/partnersite-cheapest-bargain.co.uk/html/header.php on line 12
Hi Mark,
I'll email you a version of database.php that will suppress these warnings...
Cheers,
David.