Hello
I have a different sort of radio button problem here. I found dozens of tutorials on using radio buttons on forms and submit them to a database. That I can do and have done it already.
My problem comes when I want to update a user's account. I have a status field which has two radio buttons for paid or expired. If I need to edit a user's e-mail and then click submit and forget to click one of the buttons, then the update does not fill in either paid or expired. Later when I want to use a report showing paid members, the member that has neither paid nor expired will not show up.
I need to populate one of the buttons from the database. I could use the form as it is because I know about the flaw, but I have an other non-techie users who may use the update and not click on the status.
So my question is is it possible to fill in a radio button from a database or is there another technique that I could use. Right now I am thinking about leaving the radio buttons off entirely and creating another form for just changing their status which seems a little redundant and would probably complicate things for the nontechies
I've been searching all over the Internet and some books I have on PHP and haven't found anything like this but I know there must be an answer
Thanks
Helaman