Because mysql_num_rows returns false if there are no rows returned, would it be best to do:
$query = mysql_query("SELECT id FROM table WHERE something = 'this'");
$result = mysql_num_rows($query);
if ($result) { }
Or should I do:
if ($result >= 1) { }