umm i have vry serious issue with my php trying to pass the value of a radio button which is being fetched from the database to an onclick function. the function is being called on the submit button.But the function is not getting shud i solve this problem

Recommended Answers

All 2 Replies

Member Avatar

Well how do you expect us to help you if you refuse to share your code?


$save= @$_POST['submitbutton'];  // "submitbutton" being the "name of the radio button not the ID"

if (isset($save)) {

//you code



Hope it helps and some code and more info would translate into a better answer :)


Be a part of the DaniWeb community

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