bccamp
Technical User
- Jan 20, 2005
- 69
I've got a page with 4 radio buttons, that when "checked", I want passed to the second page and remain checked. I've got no problem with the code for the radio buttons, but I don't know how to 1) pass the info to the next page & 2) have the second page check for and display the checked radio button from the first page.
How do I code to check for the button selected and input "checked" in the appropriate location?
Thanks for looking.
Code:
echo "<form method=\"post\" action=\"$_server['PHP_SELF']\">";
echo "<input type=\"radio\" name=\"Button\" value=\"Value 1\"> Value 1";
echo "<input type=\"radio\" name=\"Button\" value=\"Value 2\"> Value 2";
How do I code to check for the button selected and input "checked" in the appropriate location?
Thanks for looking.