note 4329 deleted from odbc_result_all by ronabop

From: Date: Fri, 18 Aug 2000 03:38:08 +0000
Subject: note 4329 deleted from odbc_result_all by ronabop
Groups: php.notes 
Request: Send a blank email to php-notes+get-2289@lists.php.net to get a copy of this message
I have a nationalization problem. If a query returns nothing, odbc_result_all() prints '<H2>No rows found!</H2>'. I tried to get the table into a $var, no luck (gets the number of rows there) and also tried to give the $result to ereg_replace() as a string, that didn't work either. Is there any way to print "anything here" to the screen if the $result is empty? odbc_num_rows() (was it that?) returns -1 so that wont help me. I'd like to see an odbc_result_all() function which returns a string someday.

« previous php.notes (#2289) next »