mysql_data_seek problem

From: Date: Sat, 30 Apr 2005 03:52:02 +0000
Subject: mysql_data_seek problem
Groups: php.db 
Request: Send a blank email to php-db+get-39321@lists.php.net to get a copy of this message
Hi all: I am having problems with the function mysql_data_seek when it refers to an array with an empty recordset (for example when the query does not returns data), so I keep receiving the following message in the browser: Warning: mysql_data_seek(): Offset 0 is invalid for MySQL result index 9 (or the query data is unbuffered) in /var/www/intranet/inform/view.php on line 146 I need this function to reset an array to use the same query several times in the same page. Does anybody knows how to avoid this message to be printed? Thanks a lot. Alvaro

« previous php.db (#39321) next »