http://www.codeave.com/css/code.asp?u_log=4016
Best
Bao
Leif K-Brooks wrote:
J J wrote:
Is there a good way in PHP to determine page breaksJust use HTML thead/tfoot elements and let the browser do it for you:
for long reports and printing? I'd like to be able to
best determine where pages should begin and end and
reprint things like table/page headers and footers on
each page so the reports print nicely.
<table> <thead> <tr> <th>Something</th> <th>Something</th> <th>Something</th> <tr> </thead> <tbody> <tr> <td>Data</td> <td>Data</td> <td>Data</td> </tr> <tr> <td>Data</td> <td>Data</td> <td>Data</td> </tr> <tr> <td>Data</td> <td>Data</td> <td>Data</td> </tr> <tr> <td>Data</td> <td>Data</td> <td>Data</td> </tr> </tbody> <tfoot> <tr> <td colspan="3">Footer</td> </tr> </tfoot> </table>
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php