Guest_imported
New member
- Jan 1, 1970
- 0
When you do a basic query for something and what you are looking for is not in the table queried, you get an empty set. Trying to do this with php and I'd like to be able to set it (server if possible and its not terribly dangerous) to FALSE.
If that can't be done maybe y'all can help me out with this one. I'm querying a table for some information and some of the rows WILL be NULL values. I can't use !mysql_num_rows cause that would pretty much exclude all datasets. How can I do a check on the results to see if say, there are at least say 5 rows of information. If there aren't, it kills the process right there and gives a message. If there are it continues on and finishes the page.
Thanx a bunch
Nico
If that can't be done maybe y'all can help me out with this one. I'm querying a table for some information and some of the rows WILL be NULL values. I can't use !mysql_num_rows cause that would pretty much exclude all datasets. How can I do a check on the results to see if say, there are at least say 5 rows of information. If there aren't, it kills the process right there and gives a message. If there are it continues on and finishes the page.
Thanx a bunch
Nico