[PHP] Question on mysql_fetch_object()

2004-10-22 Thread Walter Wojcik
I am trying to write a script that checks a table for a value in MySQL. It opens the table and queries it fine but if my query returns nothing i have no way of testing to see if it returned anything. I have tried testing for "false" and "" and ! $result in a if statement but i don't know what

Re: [PHP] Question on mysql_fetch_object()

2004-10-22 Thread Jason Wong
On Saturday 23 October 2004 13:05, Walter Wojcik wrote: > I am trying to write a script that checks a table for a value in MySQL. It > opens the table and queries it fine but if my query returns nothing i have > no way of testing to see if it returned anything. I have tried testing for > "false"