Location: PHPKode > scripts > MyPhonebook > myphonebook/html/xampp/htdocs/myphonebook/modify.php
<?php


print <<<FORM


<html>
<head>

<link rel='stylesheet' type='text/css' href='style.css'>

</head>

<body>


<div align='center'>

<h3>Add Contact</h3>

<form action='process.php' method='POST'>


<table align='center'>
<tr>
<td>



<table cellpadding=3 align='left'>
<tr>
<td align='right'>Name:</td>
<td><input type='text' name='name' style='width:250px;' value='$name'></td>
</tr>

<tr>
<td align='right'>First Name:</td>
<td><input type='text' name='fname' style='width:250px;' value='$fname'></td>
</tr>

<tr>
<td align="right">Company:</td>
<td><input type="text" name="company" style="width:250px;"></td>
</tr>


<tr>
<td align='right'>Address:</td>
<td><input type='text' name='address' style='width:250px;'></td>
</tr>


<tr>
<td align='right'>City:</td>
<td><input type='text' name='city' style='width:250px;'></td>
</tr>


<tr>
<td align='right'>State:</td>
<td><input type='text' name='state' style='width:250px;'></td>
</tr>


<tr>
<td align='right'>Postal Code:</td>
<td><input type='text' name='plz' style='width:100px;'></td>
</tr>


<tr>
<td align='right'>Country:</td>
<td><input type='text' name='country' style='width:250px;'></td>
</tr>
</table>

</td>

<td valign='top'>




<table cellpadding=3 align='left'>
<tr>
<td align='right'>Phone:</td>
<td><input type='text' name='phone' style='width:250px;'></td>
</tr>


<tr>
<td align='right'>Fax:</td>
<td><input type='text' name='fax' style='width:250px;'></td>
</tr>

<tr>
<td align='right'>Mobile:</td>
<td><input type='text' name='mobile' style='width:250px;'></td>
</tr>

<tr>
<td align='right'>Office Phone:</td>
<td><input type='text' name='oficephone' style='width:250px;'></td>
</tr>

<tr>
<td align='right'>Email Address:</td>
<td><input type='text' name='email' style='width:250px;'></td>
</tr>

<tr>
<td align='right'>Website:</td>
<td><input type='text' name='website' style='width:250px;'></td>
</tr>


</table>

</td></tr></table>

Annotations:<br>
<textarea cols='55' rows='7' name='annotations'></textarea>
<br>
<input type='submit' value=' Register Data'> &nbsp; &nbsp; <input type='reset' value='Reset'></td></tr></table>
</form>
</body>
</html>







FORM;

?>
Return current item: MyPhonebook