Everyone :
I'd like to check if anything is returned from a mysql_fetch_array. I'm doing the following:
$result = mysql_query(<some query>);
$aSchedule = mysql_fetch_array($result);
if (mysql_num_rows($result) <= 0) {
<Do something with data.>
} else {
<Tell user nothing exist.>
}
My question is the above correct or is there a better/easier way to do the above.
Sincerely,
Dale Williams