Great recommendation. The @ should work great. Thanks.

<>< Ryan 

-----Original Message-----
From: David T-G [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 13, 2003 8:03 PM
To: PHP DB list
Cc: Ryan Jameson (USA)
Subject: Re: [PHP-DB] No tuples available

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) [EMAIL PROTECTED] * society and not sufficient moral
courage.
(work) [EMAIL PROTECTED]  -- Mary Baker Eddy, "Science and
Health"
http://justpickone.org/davidtg/      Shpx gur Pbzzhavpngvbaf Qrprapl
Npg!

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to