mysql_query will return false if no records are returned.
This is incorrect. mysql_query will return true (or a resource) if the query succeeds. Even if there are no results, the query is still successful.
If mysql_query returns false , then the query is incorrect (or the user does not have permission).
pritaeas
Posting Expert
5,484 posts since Jul 2006
Reputation Points: 653
Solved Threads: 875