Multiple Page Forms With Single PHP page - techrepublic.com

Status
Not open for further replies.

office politics

It's all just 1s and 0s
Messages
6,555
Location
in the lab
Handling multiple submits in a single form with PHP | TechRepublic

By Guest Contributor
June 29, 2004, 7:00am PDT

Processing form data in PHP is significantly simpler than inmost other Web programming languages—a fact you're undoubtedly already aware ofif you've been using the language for a while. This simplicity and ease of usemakes it possible to do some fairly complex things with forms...including thetopic of today's discussion, handling different actions through multiple submitbuttons in the same form.


this trick is in setting a post value and using it to determine which conditional branch to execute.
 
Status
Not open for further replies.
Back
Top Bottom