Hi,

I am new to PHP.How do deselect the selected radio button.I have 4 radio button . If i select one radio button .Then How do the selected radio button go to deselected whenever i click the submit button.
Anybody help me??
Thanx

Radio buttons are not selected by default, you need to add the selected="selected" elements to the button tag to have it selected by default. It sounds like you may have this being added to your radio buttons dynamically once the form is submitted, but without seeing your code it's really hard to tell.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.