following is your html <form name="form1" method="POST" action="somewhere.php"> <input type="radio" name="radioname" value="1"> <input type="radio" name="radioname" value="2"> <input type="radio" name="radioname" value="3"> <input type="radio" name="radioname" value="4"> </form>
Now In somewhere.php you can access value of above radio buttion(which is selected) by using -- $radiovalue=$_POST['radioname'] (NOW $radiovalue WILL CONTAIN A VALUE 1 OR 2 OR 3 OR 4 i mean whichever radiobutton was selected ) Regards , Rider. (http://phpinterviewanswers.blogspot.com) On Thu, Jun 5, 2008 at 6:07 PM, anjali_awatade <[EMAIL PROTECTED]> wrote: > I have 4 no of radio buttons with name > I want to pass id with submit button witch radio button i have selected. > > > [Non-text portions of this message have been removed]
