<?php include("../../include/dbconnect.php"); ?>
<title>Area Edit</title>
<body background=blater01.gif  topmargin=0>
<center>
<table cellpadding=0 cellspacing=4 width=590>
<tr>
<td style="padding:3px;" colspan=2 bgcolor="#93BEE2"><font ><b>Area Editing</b></font></td>
</tr><tr valign="top"><td colspan=2>
<font >&nbsp;</font>
</td>
</tr>
</table>
<table border=0 cellpadding=3 cellspacing=4 width="590">
<table border=0 cellpadding=3 cellspacing=4 width="590">
<form method="POST"  action="update.php">
<?php 	

$result=mysql_query("select location,state,country,pincode,areacode from area where record = '$record' ");
$row1=mysql_fetch_row($result);
?>
<tr><td><font class="sbd"><b>Areacode</b></font></td><td>
<input type="integer" size="4" name="areacode" value=<?php echo("'$row1[4]'");?>></td></tr>
<input type="hidden" size="4" name="record1" value=<?php echo($record);?>>

<tr><td><font class="sbd"><b>Location </b></font></td><td>   
 <input type="text"    onKeyPress="return event.keyCode!=13"   size="30" name="location" value=<?php echo("'$row1[0]'");?>></td></tr>

<tr><td><font class="sbd"><b>State </b></font></td><td>   
 <input type="text"    onKeyPress="return event.keyCode!=13"   size="30" name="state" value=<?php echo("'$row1[1]'");?>></td></tr>
  
      
<tr><td><font class="sbd"><b>country</b></font></td><td>            
<input type="text"    onKeyPress="return event.keyCode!=13"   size="30" name="country" value=<?php echo("'$row1[2]'");?>></td></tr>
  
   
             
<tr><td><font class="sbd"><b>Pincode</b></font></td><td>           
  <input type="integer" size="11" name="pincode" value=<?php echo("'$row1[3]'");?>> </td></tr>
      
            

            
      
 
<table cellpading=0 cellspacing=10 width= 50>
<tr>
<td>
 <blockquote>  <input type =submit name=submit value = "Update"></td> <td><input type =submit name=submit value = "Delete"></blockquote>
</table>

</table>
<br><br><font size=1><center><a href= "index.html">Return to index page</center></font>
</body>
</form>









