HI
I need some advice so far I have what you see below but before it says you have ordered I would like to add other pages for it to save also if a person chooses a certain option I would like it to take them to a certain page to choose other options that are relavent to that option. What would I need to add for it to do this as I am not to sure at all on what I do next.
I need some advice so far I have what you see below but before it says you have ordered I would like to add other pages for it to save also if a person chooses a certain option I would like it to take them to a certain page to choose other options that are relavent to that option. What would I need to add for it to do this as I am not to sure at all on what I do next.
PHP Code:
<html><body>
<?php
if (empty($_POST['item']) || $_POST['item'] == "") {
echo "<h4>Test</h4>";
echo "<form action=\"process1.php\" method=\"post\">";
echo "CO-LO <input type=\"radio\" name=\"item\" value=\"CO-LO\" size=\"1\">";
echo "Dedicated <input type=\"radio\" name=\"item\" value=\"Dedicated\" size=\"1\">";
echo "Managed <input type=\"radio\" name=\"item\" value=\"Managed\" size=\"1\">";
echo "<input type=\"submit\" />";
echo "</form>";
} else {
echo "The service you have ordered from us is " . $item . ".<br />";
echo "Thank you for ordering from us";
}
?>
</body></html>
Comment