Re: [PHP-DB] move next

2002-05-16 Thread Terry Romine
Look at setting up a couple of vars (I use $start_rec and $max_display) and then use these to do a LIMIT on your SELECT statement. Then use a link to go to next item or previous item. Pseudo code: $first_rec = ($first_rec) ? $first_rec : 0; // if rec is passed in, use it else start at 0

[PHP-DB] move next

2002-05-16 Thread Natividad Castro
Hi to all, how do I move through a recordset? For example, if I have 4 records and I want to display one at a time and let the user to click a MoveNext button to go to the next record or a Previous button to go to the Previous record. Thanks in advanced Nato -- PHP Database Mailing List (http:

RE: [PHP-DB] Move next

2001-11-14 Thread Rick Emery
); mysql_data_seek($result,$rows); -Original Message- From: Harpreet [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 14, 2001 12:51 PM To: [EMAIL PROTECTED] Subject: [PHP-DB] Move next Do we have a matching command for rs.movelast in PHP to get the data in the last record of the array $row

[PHP-DB] Move next

2001-11-14 Thread Harpreet
Do we have a matching command for rs.movelast in PHP to get the data in the last record of the array $row=mysql_fetch_array($result); Regards, Harpreet Kaur Software Developer Crispin Corporations Inc. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTE