Ok this may be an easy one, if my query doesn't find anything how do I make it output some text. Example, so if my query below doesn't find what its looking for
$result = mysql_query('SELECT * FROM staffing WHERE date = "'.$variable.'"');
while ($row = mysql_fetch_array($result)) {
echo 'Yay I found it!'; }
and make it output if its not found:
echo 'Sorry I could not find it';
Thank you!