submitting records from multiple DB tables

From: Date: Tue, 31 Jul 2001 14:55:33 +0000
Subject: submitting records from multiple DB tables
Groups: php.windows 
Request: Send a blank email to php-windows+get-8596@lists.php.net to get a copy of this message
I have a list of records displayed in a table generated from a DB (records are from numerous DB tables). The table consits of check box(name = DB name and index), title(url link with ID) date and status When the check box is selected I need to retrieve the DB table name and a specific ID The selected records are then to be updated in the DB, but my problems arise when trying to get the correct DB table name and ID. I would ideally like to loop through the list get the DB table name and ID and then submit. But I not sure how to do this. I have tried filling hidden form fields when I submit, these in turn are used to insert data to the DB individualy (I can do this with Javascript but then have problems calling the PHP function to update the DB!) Is there an easier solution? I can't see anything on PhP net, or am I looking in the wrong place? Thanks.

« previous php.windows (#8596) next »