Ok, I have an went for the hidden values option and now I have an index.php file like so:
<?php
// database work
if(!$submit1){
include("survey_home.html");
}
if($submit1 == "submit1"){
include("survey2.html");
}
if($submit2 == "submit2"){
include("survey3.html");
}
if($submit3 == "submit3"){
include("survey4.html");
}
if($submit4 == "submit4"){
include("survey5.html");
}
?>
In this there are hidden values passed which set the variables which in turn, decide which page to display. i did this rather than create 5 different pages.
I have the action in each form set to index.php and the method is set to "post". However, when I click submit to go to th next page, all of the hidden fields are displayed in the browser address bar. How can I prevent this happening?
Thanks,
Martin