[PHP] Submitting Form Data

2002-07-03 Thread Mark Colvin

I have a php script that performs a query and then dynamically builds a
section of a page for every row returned. Each section has some fields and
three submit buttons. My problem is this. If I make a change to one
particular section, how can I submit the form passing only the relevant
section data?



This e-mail is intended for the recipient only and
may contain confidential information. If you are
not the intended recipient then you should reply
to the sender and take no further ation based
upon the content of the message.
Internet e-mails are not necessarily secure and
CCM Limited does not accept any responsibility
for changes made to this message. 
Although checks have been made to ensure this
message and any attchments are free from viruses
the recipient should ensure that this is the case.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Submitting Form Data

2002-07-03 Thread 1LT John W. Holmes

Put a form around each section, so only the data in the form will be
submitted. You can have more than one form on a page, and only the form
containing the submit button that's pressed will be sent, the others will be
ignored/dropped/whatever...

---John Holmes...

- Original Message -
From: Mark Colvin [EMAIL PROTECTED]
To: Php (E-mail) [EMAIL PROTECTED]
Sent: Wednesday, July 03, 2002 6:58 AM
Subject: [PHP] Submitting Form Data


 I have a php script that performs a query and then dynamically builds a
 section of a page for every row returned. Each section has some fields and
 three submit buttons. My problem is this. If I make a change to one
 particular section, how can I submit the form passing only the relevant
 section data?


 
 This e-mail is intended for the recipient only and
 may contain confidential information. If you are
 not the intended recipient then you should reply
 to the sender and take no further ation based
 upon the content of the message.
 Internet e-mails are not necessarily secure and
 CCM Limited does not accept any responsibility
 for changes made to this message.
 Although checks have been made to ensure this
 message and any attchments are free from viruses
 the recipient should ensure that this is the case.
 

 --
 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