PK

ADDRLIN : /home/anibklip/pcfcindia.com/19-20/
FLL :
Current File : /home/anibklip/pcfcindia.com/19-20/printrec.php

<head>
<style type="text/css">
.printo {
		font-style: normal;
		color: #000000;
		letter-spacing: 0;
		display: block;
		padding-top: 1px;
		font-size:100%;
		border:solid;
		border-bottom:solid;
		vertical-align:middle;
		padding-left:150px;
	 
		 		}
</style>
</head>
<!--<body onLoad="window.print(); window.close();">--> 
<br><br><br><br><br><br>
<?php
include("connexion.php");
$dat=date("d-m-Y");
?>
<table align="center" width="100%" border="0" class="printo">
<tr><td colspan="2"><center><h3>RECIPT</h3></center></td></tr>
<tr><td align="right">
Reciept With Thanks for Rs. /- </td></tr>
<tr><td>(in words) by Cheque/recipt no. Dated </td></tr>
<tr><td>Bank name </td></tr>
<?php
$sql="SELECT clnid FROM invoices  WHERE invid='$invoice'";
$result=mysql_query($sql) or die ('error');
while($row=mysql_fetch_array($result))
{
$clnid="{$row['clnid']}";
$grandtotal="{$row['grandtotal']}";
}

$sqld="SELECT * FROM head  WHERE headid='$clnid'";
$resultd=mysql_query($sqld) or die ('error');
while($rowd=mysql_fetch_array($resultd))
{
$headname="{$rowd['headname']}";
}
?>

<tr>
	  <td colspan="2">Client Name: 
        <strong><?php echo"$headname";?></strong></td>
</tr>
<tr>
<td colspan="2">Thanks for Making Payment of Rs.<strong> <?php echo"$pamount"; ?></strong>  against Invoice no. <strong><?php echo"$pdetail"; ?></strong> </td></tr>
<tr><td></td><td><br><br><center>Author signature</center></td></tr>
</table>
</body>


PK 99