How do I display a message if nothing is returned from my query?
I tried this:
while($info2 = mysql_fetch_assoc( $data2 ))
{
// la la la lots of code here
}
else
{
echo "Nothing Returned";
}
Only to get this error:
Parse error: syntax error, unexpected T_ELSE
Thanks for your help everyone!
Something like: