Forum Moderators: coopster
Main page, the user selects a radio button and clicks next button. On next, php examins the button checked and sends the user to the corrisponding page. What form action do I use and how do I link each radio button to a different page?
if (isset($_POST['get_page'])) {
if ($_POST['get_page'] == page_one) {
header("location: page1.html");
} else if ($_POST['get_page'] == page_two) {
header("location: page2.html");
}
}
and so on for each page.