I am trying to get a database call to show a statement saying no results found if there are no results returned.
How would I go about doing this to my code:-
This needs an IF statement.
$rows = mysql_fetch_array($getFixtures); if(count($rows)) { while ($fixtureData = $rows) ... } else { echo 'No results found'; }