PK

ADDRLIN : /home/anibklip/pcfcindia.com/bkp2019/superadmin/
FLL :
Current File : /home/anibklip/pcfcindia.com/bkp2019/superadmin/clients.php

<?php
include("connexion.php");
include "head.php";
?>
    <h2 id="icon_pick">Manage Clients</h2> 
<table width="100%"><tr>
        <td class="white"> &nbsp;&nbsp;Below are the existing clients with their 
          details. </td>
      </tr>
<tr><td align="right"><a href="addaclnt.php">+ Add a new Client</a> <br></td></tr>
</table>
<table cellspacing="3" align="center" width="100%" border="4" cellpadding="3">
<tr>
  <td><strong>NAME</strong></td>
  <td><strong>ADDRESS</strong></td>
  <td><strong>Description</strong></td>
  <td><strong>Contact Person</strong></td>
  <td><strong>PHONE</strong></td>
  <td><strong>EDIT</strong></td>
</tr>
<?php
$sql="SELECT * FROM head WHERE headid>0 and headid!=1 and headid!=2";
$result=mysql_query($sql) or die('error');
if (mysql_num_rows($result) == 0)
{
echo "<tr><td colspan=6 align=center><font color=red><strong><br>No Client/records Found</strong>, please add an account first.</font><br><br></td></tr>";
}
while($row=mysql_fetch_array($result))
{
	echo"<tr>
	  <td>{$row['headname']}</td>       <td>{$row['headaddress']}</td>     <td>{$row['headdecp']}</td>  <td>{$row['headperson']}</td> <td>{$row['headphone']}</td>     <td><a href=accedit.php?id={$row['headid']}>EDIT</a></td></tr>";
}
?>
</table>
<br><br>

<?php
include "foot.php";
?>


PK 99