How to determine an empty query?
Posted: Sat Apr 05, 2003 2:30 am
can anybody help me please? i tried to use mysql_fetch_array but it returned this error:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource
I would like to know how i could determine whether the result of my query is empty or not. It's like determining if a certain username and password exists in the database or not. Thanks a lot people.
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource
I would like to know how i could determine whether the result of my query is empty or not. It's like determining if a certain username and password exists in the database or not. Thanks a lot people.