DiigIT | IT Community
No Profile Image
Welcome Guest
New User? Register | Login

php radio button form

By: | 18 Feb 2009 4:25 pm

Hello,

I am tyring to create a simple poll using php and mysql, by displaying the poll choices with radio buttons. In my table which store the poll titles and choices, I store them such as title, q1, q2, q3 etc...Up to the point of entering the poll info to the table I have no problem.

Then I want to display the poll title and choices as a radio button form, pulling from the database. so that it will display the title first, under that q1 (with the radio button), q2(with the radio button) and so on....Then at the bottom, there should be a submit button once the user checks one of the radio buttons. And the checked result should then be sent to my table containing the asnwers.

How can I display this radio button form which will do these?

Thanks

Comments

poll choices with radio buttons.

title, q1, q2, q3 etc...Up to the point of entering the poll info to the table I have no problem. pulling from the database. so that it will display the title first, under that
q1 (with the radio button), q2(with the radio button) and so on....Then at the bottom, there should be a submit button once the user checks one of the radio buttons. And the checked result should then be sent to my table containing the
asnwers.

20080927 1615 GMT-6

Tedit, you asked this same question on both this group and php-mysql group on 7-6-08 and received several replies. What has changed between then and now?

By: | 18 Feb 2009

displaying the poll choices with radio buttons. such as title, q1, q2, q3 etc...Up to the point of entering the poll info to the table I have no problem. button form, pulling from the database. so that it will display the title first, under that q1 (with the radio button), q2(with the radio button) and so on....Then at the bottom, there should be a submit button once the user checks one of the radio buttons. And the checked result should then be sent to my table containing the asnwers.

mysql

between

Nothing, except that I could not receive any answer that worked for me at that time, and after a while I am back on doing that. Also, now I revised my table structure, and how to go about the program in general...the most important detail to be solved now is how to display a radio button php form, that will fit to my need.

By: | 18 Feb 2009

Leave a comment

Enter the text in the image
img
Can't read?
Type the characters you see in the picture below.


Close Move