Re: [PHP] To Move Recordset back to initial position
You mean like php.net/mysql-data-seek ??? On Wednesday 06 November 2002 11:38 am, ppf wrote: > Hi All: > I am having a problem in MySQL records,If i used the > record set once and later on if i want to use the same > record set in some oteher place in the same page its > behive like an empty recordset, I want to know is > there any method to (recordset.moveFirst or some > thing) move the cursor towards the initial position? > > Thanks in advance >Prad > > > __ > Do you Yahoo!? > HotJobs - Search new jobs daily now > http://hotjobs.yahoo.com/ -- Christianity is the enemy of liberty & civilization -August Bebel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] To Move Recordset back to initial position
I believe it is mysql_data_seek($result, 0); -Kevin - Original Message - From: "ppf" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, November 06, 2002 12:38 PM Subject: [PHP] To Move Recordset back to initial position > Hi All: > I am having a problem in MySQL records,If i used the > record set once and later on if i want to use the same > record set in some oteher place in the same page its > behive like an empty recordset, I want to know is > there any method to (recordset.moveFirst or some > thing) move the cursor towards the initial position? > > Thanks in advance >Prad > > > __ > Do you Yahoo!? > HotJobs - Search new jobs daily now > http://hotjobs.yahoo.com/ > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] To Move Recordset back to initial position
Hi All: I am having a problem in MySQL records,If i used the record set once and later on if i want to use the same record set in some oteher place in the same page its behive like an empty recordset, I want to know is there any method to (recordset.moveFirst or some thing) move the cursor towards the initial position? Thanks in advance Prad __ Do you Yahoo!? HotJobs - Search new jobs daily now http://hotjobs.yahoo.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php