I'm trying to develop a piece of code along the line of:
$query3 = "SELECT.......
$result3 = mysql_query($query3)
or die ("Couldn't execute query.");
if ($result3 IS NOT NULL )
{echo "<h1>Results</h1>....etc
}
In other words, I'm trying to generate an IF statement that only processes the conditional statements if the SELECT query returned at least one result. What is suitable syntax for seeing if $result3 contains any data (the writing in red)?
I know how to tell is an individual string is null, but is there a quick way of seeing if an entire array is null?