PK

ADDRLIN : /home/anibklip/pcfcindia.com/tem_new_15/superadmin/
FLL :
Current File : /home/anibklip/pcfcindia.com/tem_new_15/superadmin/resultsinvoice.php

<?php
include("connexion.php");
include"head.php";
?>
<table border="10"  bgcolor="#ffffff" bordercolor="#FF0000" width="100%">
<?php

switch($status)
{


		
default:
echo "<tr><td>Invoice No.</td>     <td>Client Id</td> 	<td>Certificate No.</td>  	<td>Date of Issue</td>	<td>Pay Mode</td>  <td>Amount</td> <td>Status</td>  ";
 include("connexion2.php");
$sql="SELECT * From invoices WHERE clnid='$_GET[status]' and invstatus='pending' and branch='$_SESSION[city]'";
$result=mysql_query($sql) or die('error');
if(mysql_num_rows($result) == 0) {
    echo "<tr><td colspan=8 align=center colour=black><br>No Result found in Invoices for the mentioned number, try again with some other number.<br><br></td></tr>";
}
while($row=mysql_fetch_array($result))
{
echo"<tr><td><b>{$row['invid']}</b></td> <td>{$row['clnid']}</td>  <td>{$row['certid']}</td> <td>{$row['dtd']}</td> <td>{$row['pmode']}</td>  <td>{$row['amount']}</td> <td>{$row['invstatus']}</td> ";
}
}
?>
<tr><td colspan="9" align="center" height="80"><center><a href="search.php"><strong><u>Search again</u></strong></a></center></td></tr>
</table>
<?php
include"foot.php";
?>


PK 99