Hi
I want to display a message that says something if sql_result doesn't have any information in it. Query comes back empty.
I thought it would be as simple as:
if ($sql_result == "") echo ("Message");
But it's not working.
I echoed $sql_result and it says "resource id #2".
Thanks!
Richard
I want to display a message that says something if sql_result doesn't have any information in it. Query comes back empty.
I thought it would be as simple as:
if ($sql_result == "") echo ("Message");
But it's not working.
I echoed $sql_result and it says "resource id #2".
Thanks!
Richard