Re: data_seek() equivalent?

From: Date: Thu, 19 Jul 2001 22:16:03 +0000
Subject: Re: data_seek() equivalent?
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-898@lists.php.net to get a copy of this message
Nathan wrote: > > Hello PEAR Developers, > Developing today with PEAR DB I discovered the need to move the internal > result pointer. The basic equivalent of mysql_data_seek(). Are there > plans to implement a function like this in PEAR DB? Thank you. This was implemented months ago. Simply suply the extra param "row number" to the fetch row statement: // This will fetch the 5th row (begins from 0) $row = $db->fetchRow(DB_FETCHMODE_ASSOC, 4); Tomas V.V.Cox

« previous php.pear.dev (#898) next »