hmm name the text fields the field of the database then put a [] in front of them to make them an array then
then try maybe foreach ($_POST['id'] as $key=>$value) { //sql statement update table set us=$_POST['us'][$key] where id=$_POST['id'][$key]; } -----Original Message----- From: Esteban Fernandez [mailto:[EMAIL PROTECTED] Sent: Saturday, June 21, 2003 6:24 AM To: [EMAIL PROTECTED] Subject: [PHP] Re: PHP Problem regarding updating through text boxes Hum,, i don't see the database conecction :P. It's necesary modified the fileds on the fly ?, one by one it's more easy to do... "Esteban Fernandez" <[EMAIL PROTECTED]> escribió en el mensaje news:[EMAIL PROTECTED] > Put the code in a Form tag, modified thevalues, and put a submit button in > the Form, so, in the php page you get it the values by name, you can > modified with 'update' mysql sentence. > > > "Matt Hedges" <[EMAIL PROTECTED]> escribió en el mensaje > news:[EMAIL PROTECTED] > > Please take a look at http://hedges.org/code/wine.php - You'll see what I > > can't figure out how to do. > > > > > > thanks, > > Matt > > > > > > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php