<html>
<head> <title> Algebra </title> </head>
<body>
<form action="Aoptionphp.php" method="post">
<td> Nama: </td> <input type="text" name="Nama"> <br>
<td> Nim : </td> <input type="text" name="Nim"> <br>
<p> Jenis kelamin : <br>
<input type="radio" name="Laki-laki" value="Laki-laki"/>
Laki-laki <br>
<input type="radio" name="Perempuan" value="Perempuan"/>
Perempuan <br> <br>
<input type="submit" value="proses">
</form>
</body>
</html>
PHP
<?php
$a=$_POST["Nama"];
$b=$_POST["Nim"];
$c=$_POST["Laki-laki"];
$d=$_POST["Perempuan"];
echo "$a.<br>";
echo "$b.<br>";
echo "$c.<br>";
echo "$d.<br>";
?>
2015-01-19
Subscribe to:
Post Comments (Atom)
0 komentar:
Post a Comment