Page 1 of 1

Save values in Different variables

Posted: Tue Apr 17, 2012 6:02 am
by jamhussain
in action.html file
My HTML Form has Radio Buttons.
when I submit the form.
I get the values in action.php file.
I want to save the value in variable.
so that , If i submit the Form again.
it should be save its value in another variable.
If there are 3 radio buttons then I should get three variables having values of these radio buttons.
How can I get . please guide me. thanks.

Re: Save values in Different variables

Posted: Tue Apr 17, 2012 9:12 am
by Grizzzzzzzzzz
after the first submit, store the values in hidden fields in the form

Re: Save values in Different variables

Posted: Tue Apr 17, 2012 11:06 am
by jamhussain
But , how , please give example.I m new in php. thanks.

Re: Save values in Different variables

Posted: Tue Apr 17, 2012 8:09 pm
by califdon
I'm going to take a wild guess and say that it sounds like an assignment in a programming class. On these forums we don't do your homework for you, but prefer to help you by answering specific questions so you can learn something. That's what Grizzzzzzzzz did. To learn what hidden fields are, search for those words in Google (html hidden fields). Asking for detailed code in a forum is a very ineffective way to learn anything.