Can someone help with how to make this work, trying to get the number of
rows but am getting the "trying to get property of non-object"


$query = "select blah, blah, blah from table where ".$type." like
$result = mysql_query($query); 

$num_results = $result->num_rows; <---------------this is the line with

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to