Retrive the value of the Radipo Button and the List box
Posted: Wed Jun 16, 2004 8:16 am
I'm trying to retrive the value of the Radio BUtton Selected.
The php file has this code
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
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">Code: Select all
<?php
$Acccount = $_POST["radiobutton"];
$First = $_POST["fname"];
echo "Account NAme is:".$Account;
echo "First Name is:".$First;Any help is appreciated