Re: ENC: Datasets
| From: | Ignacio Vazquez-Abrams | Date: | Fri, 19 Jan 2001 17:26:54 +0000 |
| Subject: | Re: ENC: Datasets | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-35648@lists.php.net to get a copy of this message | ||
On Fri, 19 Jan 2001, Bruno Freire wrote:
>
> Hi.... My name is Bruno, I'm in Brazil and I'm new in PHP...
>
>
> I wanna know how can I roll in the records of a dataset.
> Like...
> Move First
> Move last
> Move next.....os something like this
> Move previous
>
> Thanks..
>
Move Next is simple; just use xxx_fetch_[array, row, etc.]().
For the other three, some DB interfaces have xxx_data_seek(), but others will
have to be manipulated within an array. However, that's not such a big deal
because you probably shouldn't be moving around arbitrarily like that, should
you? ;)
--
Ignacio Vazquez-Abrams <ignacio@openservices.net>