File Directory Php



Form Examples


" method="post">
Form Examples

Enter some text or numbers:


Select one or more checkboxes:
One
two
three

Select one of the radio buttons:
Mum
Dad
Kitty Cat

Replace the text in this box with your own text:


Now select one of the drop down choices:


Now select some of the drop down choices:





$TextData=$_POST["TextData"]; echo $TextData.'
';
$box=$_POST["one"]; echo $box.' ';
$box=$_POST["two"]; echo $box.' ';
$box=$_POST["three"]; echo $box.' ';
$radio=$_POST["radio"]; echo ''.$radio.' ';
$boxy=$_POST["boxy"]; echo $boxy.' ';
$Name=$_POST["Name"]; echo $Name.'
';
$data = $_POST["data"];
foreach ($data as $value)
{
echo $value."
";
}
?>