On a form, i have
<label><input name="radiogrou p" type="radio" value="Technica l">
Technical</label>
<label><input name="radiogrou p" type="radio" value="Admin">
Administrative</label>
<label><input name="radiogrou p" type="radio" value="Site">
Web-Site</label>
<label><input name="radiogrou p" type="radio" value="General"
checked>
General</font></dd></label>
then on another form i want an if statement
like
if ($radiogroup==" Admin")
{
$contact="email address";
$subject="subje ct"l
else
{
$contact="anoth eremailaddress" ;
$subject="anoth ersubject";
Is this correct, or how do i do an if statement including depending on what
radio button is checked?
thanks
--
Kathryn (Fire Juggler)
<label><input name="radiogrou p" type="radio" value="Technica l">
Technical</label>
<label><input name="radiogrou p" type="radio" value="Admin">
Administrative</label>
<label><input name="radiogrou p" type="radio" value="Site">
Web-Site</label>
<label><input name="radiogrou p" type="radio" value="General"
checked>
General</font></dd></label>
then on another form i want an if statement
like
if ($radiogroup==" Admin")
{
$contact="email address";
$subject="subje ct"l
else
{
$contact="anoth eremailaddress" ;
$subject="anoth ersubject";
Is this correct, or how do i do an if statement including depending on what
radio button is checked?
thanks
--
Kathryn (Fire Juggler)
Comment