umm i have vry serious issue with my php code...im 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 called...how shud i solve this problem

Member Avatar

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

<?php

$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 :)

Peace