beginning of file
| From: | ROUSSY, ISABELLE | Date: | Fri, 28 Jul 2000 17:56:53 +0000 |
| Subject: | beginning of file | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-1610@lists.php.net to get a copy of this message | ||
Hi,
Is there a way to set back a recordset to his first row after a while
loop.
$io=mysql_query("select distinct ApplicationAcronym from Application");
...
...
...
while ($myInput = mysql_fetch_row($io)){
....
}
If I want to perform another loop using the query $io it is set to the
end of the file. Is there another way than copying the mysql_query
before each loop? somehting like $io.first .bof?
thanks
--
Isabelle Roussy
Bell Canada
IS/IT - Billing Requirements
700 de La Gauchetiere W B8W2 Montreal Qc H3B 4L1
Mailto:isabelle.roussy@bell.ca
Office (514) 391-7939 Fax (514) 393-8162