Hello all...I am having a little trouble with using an ifelse statement to print information from one page to another.
I have a form that has several questions and the user has to select one out of the few radio buttons...etc...when done they hit submit which is 'confirmed' on the next page. How can I do an ifelse statement stating if 'this radio button is selected' echo this.
Some of my code...
How much do you currently accept, or do you anticipate accepting, in monthly charges?</br>
<?php
If
(radio button selected) ---> this being how to determine which button was selected
echo $method=$POST_["monthly"];
elseif
($monthly="monthly1")
echo $method=$POST_["monthly1"];
elseif
($monthly="monthly2")
echo $method=$POST_["monthly2"];
elseif
($monthly="monthly3")
echo $method=$POST_["monthly3"];
else
echo $method=$POST_["monthly4"];?>
</br>