Re: No tuples available
| From: | David T-G | Date: | Fri, 14 Nov 2003 03:03:14 +0000 |
| Subject: | Re: No tuples available | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-31571@lists.php.net to get a copy of this message | ||
Ryan --
..and then Ryan Jameson (USA) said...
%
% Is there a way to tell PHP to not show just this warning? Maybe there
Have you tried using @ in front of the odbc_fetch_row call? That will
shut it up:
PHP supports one error control operator: the at sign (@). When
prepended to an expression in PHP, any error messages that might be
generated by that expression will be ignored.
I'd bet a twinkie that you get it when you have no more data. You should
implement the PEAR FutureGaze module so that you know to stop one row
earlier ;-)
HTH & HAND
:-D
--
David T-G * There is too much animal courage in
(play) davidtg@justpickone.org * society and not sufficient moral courage.
(work) davidtgwork@justpickone.org -- Mary Baker Eddy, "Science and Health"
http://justpickone.org/davidtg/ Shpx gur
Pbzzhavpngvbaf Qrprapl Npg!