Populating radio buttons from an SQL query result set
Posted: Tue Dec 16, 2008 6:51 am
Hi,
Am very new to PHP and am stuck up right now.
I have an SQL query that returns me a result set having 2 columns (Start Date , End Date)
1=> This result set needs to be generated on the selection of an item(Id) from the options in a select box.
2=> I need this result set to be displayed in radio buttons.
The user can then select one of the radio button options.He can then submit the data.
I need to know how can I achieve 1 & 2.
Please help me on this one.Will really appreciate that.
Am very new to PHP and am stuck up right now.
I have an SQL query that returns me a result set having 2 columns (Start Date , End Date)
1=> This result set needs to be generated on the selection of an item(Id) from the options in a select box.
2=> I need this result set to be displayed in radio buttons.
The user can then select one of the radio button options.He can then submit the data.
I need to know how can I achieve 1 & 2.
Please help me on this one.Will really appreciate that.