My Tugas php


Biodata.php
<pre>
<form method="post" action="p.php">
<center><h1><font size="+3" face="Impact"><strong>BIODATAKU</strong></font></h1></center><font face="Impact">  
Nama Depan   = <input type="text" name="ana"  />
Nama Belakang= <input type="text" name="km" />
Umur         = <input  type="text" name="c" />
Alamat       =
               <textarea name="d"></textarea>
Jenis Kelamin=
<input type="radio" name="jk" value="Laki-laki" checked="checked" />Laki-laki  <input type="radio" name="jk" value="Perempuan" />Perempuan
Hoby         =
<input type="checkbox" name="e" value="Chatting" checked="checked">Chatting  
<input type="checkbox" name="f" value="Browsing">Browsing
<input type="checkbox" name="g" value="Mancing">Mancing

<input type="submit" name="h" value="OK">  <input type="reset" name="j" value="BATAL">
</font></form>
</pre>

Proses.php
<pre>
Nama Depan   = <?php echo $_POST['ana'];?><BR>
Nama Belakang= <?php echo $_POST['km'];?><BR>
Umur         = <?php echo $_POST['c'];?><BR>
Alamat       = <?php echo $_POST['d'];?><BR>
Jenis Kelamin= <?php echo $_POST['jk'];?><BR>
Hobi         =<br>
<?php echo $_POST['e'];?>

<?php echo $_POST['f'];?>

<?php echo $_POST['g'];?>
</pre>