RE: [PHP-DB] Using A Query Results Multiple Times

2001-10-24 Thread Adam Douglas
[mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 23, 2001 1:48 PM To: PHP-DB (mailing list) (E-mail); PHP-General (mailing list) (E-mail) Subject: [PHP-DB] Using A Query Results Multiple Times I have an instance where I have to query my MySQL database and then use the multiple row

RE: [PHP-DB] Using A Query Results Multiple Times

2001-10-24 Thread Adam Douglas
-General (mailing list) (E-mail) Subject: RE: [PHP-DB] Using A Query Results Multiple Times Hi while(...) { do whatever } mysql_data_seek ($mysqlresultid, 0) while(...) { do whatever } mysql_data_seek ($mysqlresultid, 0) etc will set the pointer back to the beginning

RE: [PHP-DB] Using A Query Results Multiple Times

2001-10-23 Thread Rick Emery
: Tuesday, October 23, 2001 1:48 PM To: PHP-DB (mailing list) (E-mail); PHP-General (mailing list) (E-mail) Subject: [PHP-DB] Using A Query Results Multiple Times I have an instance where I have to query my MySQL database and then use the multiple row results to create multiple pull down

[PHP-DB] Using A Query Results Multiple Times

2001-10-23 Thread Adam Douglas
I have an instance where I have to query my MySQL database and then use the multiple row results to create multiple pull down menus on a web page. My problem is how can I take the results of the query and use them more the once to create pull down menus? I've always used a while look to