$resultspon=mysql_query("select count(*) from autopages_sponsored where ( category ='$category' and state ='$state' )",$db)or ie("oops");
while($myrowspon=mysql_fetch_array($resultspon)) { $spcount=$myrowspon["0"]; }
if ($spcount>"0")
{
$resultspon=mysql_query("select * from autopages_sponsored where ( category ='$category' and state ='$state' )
",$db );
while($myrowspon=mysql_fetch_array($resultspon))
{ echo ("
ELV Recyclers - Free Car Removal Service 1602 Centre Road Springvale VIC
Reliable, Licensed, Free Car Removal in Melbourne Metro and Mornington Peninsula.
$$$$ Paid for cars - Open 7 days LMCT 1229.
PHONE 1300 652 070 - FAX 03 9547 7955