DB generating a notice
| From: | Hans Westerbeek | Date: | Fri, 28 Mar 2003 11:14:47 +0000 |
| Subject: | DB generating a notice | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-4492@lists.php.net to get a copy of this message | ||
Hi all,
A question: why does DB generate a notice when a query yields an empty
result set, for example:
SELECT * FROM newsitems will result in this notice being issued. I think
this shouldn't happen, it is always up to the DB user to check if there's
any rows available.
By the way, if you have never run into this behaviour, try installing the
php.ini-dist that comes with php, instead of keeping your legacy php.ini. It will treat
you to a notice and warning mania that makes one question his codes
quality :-)
Regards,
Hans