Re: Empty query result
| From: | Pablo M. Rivas | Date: | Mon, 26 Jul 2004 16:30:30 +0000 |
| Subject: | Re: Empty query result | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-35460@lists.php.net to get a copy of this message | ||
Hello Philip,
pse.. can you paste the error information?
There is no known "empty set" problem.
--
Best regards,
Pablo
PT> Hi all.
PT> I am querying a database of single information multiple times using a
PT> simple 'select' statement. However, whenever the data in the DB is
PT> empty or is 0 (zero), then it throws an error. However, I don't want it
PT> to throw an error, I just want it to move on to the next query.
PT> This is being shown on a webpage I have. Note that I am using a
PT> function for this select statement because I just have to change the
PT> identifier that I am looking for - saves space. So I don't use
PT> mysql_error() to show my errors, I redirect to a global 'error' page.
PT> Is there a way to get around this "empty set" problem? Yes, I know
PT> about using @ to suppress warnings, but it's more than this.
PT> Thanks a bunch,
PT> ~Philip