I am printing barcode on a page...from database...
I need to display only 6 barcode coupon on single page.
After that I need to break page.....and continue...till last row.
below is my code...but i cannot understand how to count and break page after every 6th row.
plz help me..
<?php foreach($data as $row) { ?>
<table border="1px solid #666" summary="" width="48%" class="pos_fixed1">
<thead>
<tr>
<td>Receipt</td>
<td><?php echo htmlspecialchars($row['receipt_no']); ?></td>
<td>Coupon</td>
<td><?php echo htmlspecialchars($row['coupon']); ?></td>
</tr>
</thead>
</table>
<?php } ?>