Re: [PHP] walking through database one record at a time with forms.

2003-07-23 Thread Marek Kilimajer
Better would be to make combos (reject, accept) and then submit them all at once. Displaying a separate html page for each row is slow and pain to work with. Artoo wrote: I'm tring to create a script for the WEBMASTER to go through a temporary table in a MySQL database, and either accept or rej

RE: [PHP] walking through database one record at a time with forms.

2003-07-23 Thread Luis Lebron
The trick is in using the MySQL 0limit statement. For the first record use: $sql = mysql_query("SELECT * FROM temp_table limit 0, 1"); then increment the limit for the next record $sql = mysql_query("SELECT * FROM temp_table limit 1, 1"); Luis -Original Message- From: Artoo [mailto: