Multiple Page Forms With Single PHP page - techrepublic.com - Techist - Tech Forum

Go Back   Techist - Tech Forum > Computer Software > Programming > Programming Tips and FAQ
Click Here to Login
Closed Thread
 
Thread Tools Display Modes
 
Old 09-28-2011, 09:28 AM   #1 (permalink)
It's all just 1s and 0s
 
office politics's Avatar
 
Join Date: Jan 2004
Location: in the lab
Posts: 6,555
Send a message via MSN to office politics
Default Multiple Page Forms With Single PHP page - techrepublic.com

Handling multiple submits in a single form with PHP | TechRepublic

Quote:
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.
__________________

office politics is offline  
Old 09-28-2011, 03:58 PM   #2 (permalink)
It's all just 1s and 0s
 
office politics's Avatar
 
Join Date: Jan 2004
Location: in the lab
Posts: 6,555
Send a message via MSN to office politics
Default Re: Multiple Page Forms With Single PHP page - techrepublic.com

read the following link to find out how to create session variables to save the data on the server.

10 tips for PHP scripts: Using native sessions | TechRepublic
office politics is offline  
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
TabSense, Display All Chrome Tabs On A Single Page Osiris Tips, Tricks & Tutorials 0 08-03-2010 08:23 AM
PHP: How to save data for multi-page forms? Mr. tech Programming 1 04-27-2009 01:41 AM
1000 Wallpapers on a single page Osiris Tips, Tricks & Tutorials 0 02-24-2007 12:13 PM
page source and page displayed dont match rookie1010 Internet Software and Browsers 1 09-03-2005 06:59 PM
Email Forms - "Thank You" Page JimShorts Programming 7 02-23-2004 08:30 PM



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -5. The time now is 03:52 AM.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.