Re: retrieving one record at a time
| From: | mike at wkla dot com | Date: | Wed, 27 Mar 2002 23:43:41 +0000 |
| Subject: | Re: retrieving one record at a time | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-17963@lists.php.net to get a copy of this message | ||
try using your id column of the table
Select * from table where table_id=1
using mysql_fetch_array with the above query will work.
Mike
----- Original Message -----
From: "Natividad Castro" <ncastro@cots.com>
To: <php-db@lists.php.net>
Sent: Wednesday, March 27, 2002 5:04 PM
Subject: [PHP-DB] retrieving one record at a time
> Hi to all,
> I'm new to PHP. I'm trying to retrieve data from a database, but I just
want
> to retrieve one record at a time and go through to the next records by
click
> next record. I know how to retrieve all record by using the
> mysql_fetch_array, but I'm having problems to select one record at time.
Any
> idea?
>
> Thanks in advanced
> Nato
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.330 / Virus Database: 184 - Release Date: 2/28/02