Page 1 of 1

Retrive the value of the Radipo Button and the List box

Posted: Wed Jun 16, 2004 8:16 am
by Kingo
I'm trying to retrive the value of the Radio BUtton Selected.

Code: Select all

<input type="radio" name="radiobutton" ID="Radio1" value="NA" >
      <font size="2" face="Arial, Helvetica, sans-serif">New Account 
      <input type="radio" name="radiobutton" ID="Radio2" value="RA">
      Repair Account 

 <input type="text" name="fname" ID="Text1">
The php file has this code

Code: Select all

<?php 
$Acccount = $_POST["radiobutton"];
$First = $_POST["fname"];
echo "Account NAme is:".$Account;
echo "First Name is:".$First;
I'm having problem retrieving the value of the radio button. And how can i retrieve the value of an item from a list box.

Any help is appreciated

Posted: Wed Jun 16, 2004 8:51 am
by patrikG

Posted: Wed Jun 16, 2004 1:02 pm
by Kingo
can any opne help with this one. I was not able to follow the link. DO i need to embed PHP is HTML for radio and select boxes?

Posted: Wed Jun 16, 2004 1:10 pm
by feyd
moving to client side.