Copy link to clipboard
Copied
I'm developing using PHP/MySQL. I've created a form with a userID and a Radio Group with 3 buttons and a Submit button.
I want to populate the database with the info that the user enters but the data coming from the radio button selection is never correctly entered into the database: either all selected to be '1', or all '0', or only one given a value of '1' regardless what the choice was. Plus: how do I get to paste my code and the output here for clarity's sake?!
Thanks
Copy link to clipboard
Copied
Have u already assign the value for each radio button?
Copy link to clipboard
Copied
Hi there,
Thanks so much for your response.
I managed to sort out the problem in a round about way. I had to get into the code itself and add a switch statement into the php code. But I really thought Dreamweaver was suppossed to do that sort of stuff for you.
Maybe I'm just really stupid, but I had two other engineers helping out and then I got the code to insert and it finally works.
Regards,