I have printing program in php and html
where the php varaibles have been echoed in the tabular format
and this table has heading whch should come on evry page now how do i asertain when there will be page break and and heading repeated again
something like this(part of code)
[PHP]<table>
<tr>
<td><strong><em >Material</em></strong></td>
<td><strong><em >Received Qty</em></strong></td>
</tr>
<? while($cn<=$m){
<tr>
<td><input type='hidden' name='material' value='<?=$mate rial?'>><?=$mat erial?></td>
<td><input type='hidden' name='recqty' value='<?=$rec_ qty?>'><?$rec_q ty?></td></tr>
<? $m++;
} ?>[/PHP]
//this is a part of code now his shows the material but once material list exceed next page no header is dispalyed
//how to do this
Thanks in advance
where the php varaibles have been echoed in the tabular format
and this table has heading whch should come on evry page now how do i asertain when there will be page break and and heading repeated again
something like this(part of code)
[PHP]<table>
<tr>
<td><strong><em >Material</em></strong></td>
<td><strong><em >Received Qty</em></strong></td>
</tr>
<? while($cn<=$m){
<tr>
<td><input type='hidden' name='material' value='<?=$mate rial?'>><?=$mat erial?></td>
<td><input type='hidden' name='recqty' value='<?=$rec_ qty?>'><?$rec_q ty?></td></tr>
<? $m++;
} ?>[/PHP]
//this is a part of code now his shows the material but once material list exceed next page no header is dispalyed
//how to do this
Thanks in advance
Comment