hi,
arslanali is correct try with following code
<?
session_start();
?>
<html>
<body>
<?php
$radiobutton = $_POST['radiobutton'];
if ($radiobutton=="rb1")
{
header ("location:rb1.php");
}
elseif ($radiobutton=="rb2")
{
header ("location:rb2.php");
}
elseif ($radiobutton=="rb3")
{
header ("location:rb3.php");
}
elseif ($radiobutton=="rb4")
{
header ("location:rb4.php");
}
elseif ($radiobutton=="rb5")
{
header ("location:rb5.php");
}
elseif ($radiobutton=="rb6")
{
header ("location:rb6.php");
}
elseif ($radiobutton=="rb7")
{
header ("location:rb7.php");
}
elseif ($radiobutton=="rb8")
{
header ("location:rb8.php");
}
elseif ($radiobutton=="rb9")
{
header ("location:rb.php");
}
else
{
echo "<br>Please choose at least one radio button";
}
?>
</body>
</html>
surendran
(Anything is Possible)
http://ssuren.spaces.msn.com