can't figure out why I'm getting an error here.. any of your help would be appreciated
I'm getting errors with both of these queries:
$querya = "SELECT AMOUNT FROM house_offers" .
"WHERE AMOUNT = $a3 AND HOUSEID='".$_GET['id']."' " ;
$resultsa = mysql_query($query_a);
$a4 = mysql_num_rows($resultsa);
$query_b= "SELECT AMOUNT FROM house_offers" .
"WHERE AMOUNT => $b3 " .
"WHERE AMOUNT < $a3 AND HOUSEID='".$_GET['id']."' " ;
$resultsb= mysql_query($query_b);
$b4=mysql_num_rows($resultsb);
Here is the error....
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource
thanks in advance for your help!