thanks for the reply. Actually, all my queries happen on different pages. for ease of coding. there's just something about recursive coding that doesn't sit well with me, at least not yet <G>.
the application is broken up like this.
index.php
- queries the database and loops out the mysql_fetch_array to populate the html table with the appropriate data.
edit.php
- queries the database with a "Select * FROM $db WHERE ID = $ID"
$id and $db are passed over thru the querystring...
update.php
- sends the "UPDATE ..." query and produces an "update complete" notice and a link back to the index.
and that's about it.
-zenlabâ„¢