I have a PHP search script which queries a MySQL database. Currently, when no results are displayed the script shows and error. How can I make it display a message like \"No
if (empty($results)) { echo 'No results found'; } else { echo implode($results); }