PK

ADDRLIN : /home/anibklip/pcfcindia.com/2023-24/superadmin/
FLL :
Current File : /home/anibklip/pcfcindia.com/2023-24/superadmin/accedit.php

<?php
	include("connexion.php");
	include("head.php");
?>
<h2 id="icon_pick">Update a Client details</h2> 
<?php
	$sql="SELECT * FROM head WHERE headid ='$_GET[id]'";
	$result=mysql_query($sql) or die('error');
	while($row=mysql_fetch_array($result))
 	{
	$headid="{$row['headid']}";
?>
<br>
<strong>Update the followings:</strong>

	<table cellspacing="3"  cellpadding="3" align="center" width="100%" border="4">
<form action="accupdate.php" method="get">
	<input type="hidden" name="id" value="<?php echo $headid; ?>">
<?php
	$headname="{$row['headname']}";
	$headphone="{$row['headphone']}";
	$headperson="{$row['headperson']}";
	echo " <tr>
				<td>Company Name:</td><td><input type=text name=headname value='$headname'></td>
		</tr>
   		<tr>
			<td>ADDRESS:</td><td><textarea rows=4 cols=40 name=headaddress>{$row['headaddress']}</textarea></td>
		</tr>
	  	<tr>
	  		<td>Description:</td><td><textarea rows=4 cols=40 name=headdecp>{$row['headdecp']}</textarea></td>
	  	</tr>
	   	<tr>
	   		<td>Contact Person:</td><td><input type=text name=headperson value='$headperson'></td>
	   	</tr>
	   	<tr>
	   		<td>PHONE:</td><td><input type=text name=headphone value='$headphone'></td>
	   	</tr>";
}
?>
		<tr>
			<td colspan=2 align=center><br><input type="submit" class="amo-submit" value="Update Client Details"></td>
		</tr>	   
		</form>
	</table>
<?php include "foot.php"; ?>


PK 99