PK

ADDRLIN : /home/anibklip/ulpc.in/2014-2015/superadmin/
FLL :
Current File : //home/anibklip/ulpc.in/2014-2015/superadmin/pendingpay.php

<?php
include("connexion.php");
include "head.php";
include("connexion2.php");
$sql="SELECT count(*) FROM invoices WHERE invstatus='paid' and branch='$_SESSION[city]'";
$result=mysql_fetch_array(mysql_query($sql));
$count=$result[0];
echo"<table width=100%><tr><td align=left>Total Recieved Payments : <b>$count</b></td>";

include("connexion2.php");
$sql="SELECT count(*) FROM invoices WHERE invstatus='pending'  and branch='$_SESSION[city]'";
$result=mysql_fetch_array(mysql_query($sql));
$count=$result[0];
echo"<td align=right>Total Pending Payments : <b>$count</b></td></tr>

<tr><td colspan=2><br><br><br><center><a href=billing.php>Search Again</a></center></td></tr>
</table>";



include("foot.php");
?>


PK 99