Hello, I want to build a questionaire where the user is guided through five
pages of questions. How can I program PHP that the user gets to the second
page after pushing the Submit-Button?
My solution printed here doesn't work.
Any hints are greatly apreciated!
S. Maier
?php
if ($submit) {
//
use an HTML form.
Adam
On Mon, 26 Aug 2002, Gerd Ulrich wrote:
Hello, I want to build a questionaire where the user is guided through five
pages of questions. How can I program PHP that the user gets to the second
page after pushing the Submit-Button?
My solution
Hi Adam,
I think that you have to put the header command before anything else. (that
is, putting the header (Location:X) command at the bottom of your block
might be the trouble)
If putting it somewhere else in your script doesn't work, how about:
echo htmlhead;
echo meta
On Mon, 2002-08-26 at 13:25, Gerd Ulrich wrote:
Hello, I want to build a questionaire where the user is guided through five
pages of questions. How can I program PHP that the user gets to the second
page after pushing the Submit-Button?
My solution printed here doesn't work.
Any hints are