RE: [PHP-WIN] Random Access to a Database
| From: | Ignatius Teo | Date: | Thu, 03 Aug 2000 05:58:28 +0000 |
| Subject: | RE: [PHP-WIN] Random Access to a Database | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-1508@lists.php.net to get a copy of this message | ||
using mysql_data_seek() or mysql_row_seek()
> -----Original Message-----
> From: Tom Peck [mailto:tompeck@paradise.net.nz]
> Sent: Thursday, 3 August 2000 15:42
> To: Zak Greant; php-windows@lists.php.net
> Subject: Re: [PHP-WIN] Random Access to a Database
>
>
> I am using MySQL. How would this be possible?
>
> Cheers
>
> Tom
>
> At 22:25 2/08/2000 -0700, you wrote:
> >This will depend on the database that you are using. In
> MySQL you should be
> >able to randomly select a record.
> >
> > Zak
> >----- Original Message -----
> >From: "Tom Peck" <tompeck@paradise.net.nz>
> >To: "PHP" <php-windows@lists.php.net>
> >Sent: Wednesday, August 02, 2000 9:20 PM
> >Subject: [PHP-WIN] Random Access to a Database
> >
> >
> > > Hello
> > >
> > > I'm trying to setup a page which accesses a random row
> from a database.
> >Is
> > > there a query function to do this - or do I first have to
> know how many
> >rows
> > > there are, and skip records until i come accross the
> randomly chosen one?
> > >
> > > Cheers
> > >
> > > Tom
> > >
> > >
> > > --
> > > PHP Windows Mailing List (http://www.php.net/)
> > > To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> > > For additional commands, e-mail: php-windows-help@lists.php.net
> > > To contact the list administrators, e-mail:
> php-list-admin@lists.php.net
> > >
> >
> >
> >
> >--
> >PHP Windows Mailing List (http://www.php.net/)
> >To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> >For additional commands, e-mail: php-windows-help@lists.php.net
> >To contact the list administrators, e-mail:
> php-list-admin@lists.php.net
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> For additional commands, e-mail: php-windows-help@lists.php.net
> To contact the list administrators, e-mail:
> php-list-admin@lists.php.net
>