Results 1 to 2 of 2
Related
-
Passing variables to external PHP Javascript page Forum: PHP Forum
Replies: 0 -
passing values of 3 variables from one php script to another Forum: PHP Forum
Replies: 2 -
How do you use the “include function” to put a HTML Page (top.htm) onto a PHP Page? Forum: PHP Forum
Replies: 1 -
Problem In Passing Variables Forum: PHP Forum
Replies: 2 -
multi-level JavaScript document.write / html page within a html page Forum: Javascript Forum
Replies: 7
-
08-30-2005, 11:44 AM #1
Passing variables from HTML page to page
I am new to this forum and not sure where to post this question. I would like to divide a form with 200 questons into 4 separate pages. I would like to be able to pass the visitors answers on first page to the second page, then the answers from the 1st and 2nd page to the 3rd page...etc, until they reach the last page. The visitor will then click on the submit button on the last page and all the form answers will be submitted to me at one time. How is this done? ?I've heard something about PHP?
I am hosted by Geocties so,
<form method=post name="form1" action="http://us.1.p2.webhosting.yahoo.com/forms?login=myusername"
As far as I know, my hosting account is set up to interpret (read run) scripting languages such as PHP?
Thanks to anyone who can help,
-
08-30-2005, 12:29 PM #2
Re: Passing variables from HTML page to page
in your php script have it check hidden values, like:
HTML Code:<input type="hidden" value="1001010011101011" name="page1">
or you could make it a session thing and keep it all in a cookie.
little tip:
if they are all checkboxes only use 1's and 0's, so the first digit would be the first checkbox, and if it is a 1 it means it was clicked, and so on...
Cloudjiffy- PaaS for Developers
10-05-2020, 12:30 AM in Web Hosting Forum