Hi,
You can use sessions to store the post data from page to page. To get
a multi page form use logic in your script to display each form part.
session_start();
if ( $_session['part'] == 1) {
//show part 1 form
}
if ( $_session['part'] == 2) {
//show part 2 form
}
Don't forget to validate your form data and strip/ convert special
characters.
Sincerely,
Mike
--
Mike Brandonisio * Web Hosting
Tech One Illustration * Internet Marketing
tel (630) 759-9283 * e-Commerce
[EMAIL PROTECTED] * http://www.jikometrix.net
JIKOmetrix - Reliable web hosting
On Feb 11, 2007, at 7:45 PM, amhalperin wrote:
> How can I create a multiple page form and collect data from that into
> my php file? I have one page now but I want to add more pages.
> my html file is
>
> <body>
> <"form method="POST" action="capitals.php">
> a short quiz, then
> <input type="Submit" value="Next Page">
> </form>
>
> thanks. adam
>
>
>
> Community email addresses:
> Post message: [email protected]
> Subscribe: [EMAIL PROTECTED]
> Unsubscribe: [EMAIL PROTECTED]
> List owner: [EMAIL PROTECTED]
>
> Shortcut URL to this page:
> http://groups.yahoo.com/group/php-list
> Yahoo! Groups Links
>
>
>