Hi there,
Hope you guys would be able to help me out.
My company has a basic order entry/tracking system developed in PHP over PostgreSql.
The database is really clean, however the reporting feature has taken a back seat due to the management insisting on using excel patform to generate reports.
Now i am generating reports in an excel spreadsheet using a combination of PHP / HTML. I am stuck with page breaks. I want to force page breaks automatically using some sort of PHP/HTML combanation so that when i generate an 'ORDER REPORT' (for e.g.) every order appears on a separate page.
Presently i am using some dirty script to insert html breaks just to get to the end of the page.
Is there any PHP function that can help me to force page breaks automatically so that while in a loop when i encounter a different order, i force a page break (rather than using html breaks) and the new order appears at the begining of the next excel page.
Your help would be greatly appreciated
Thank you
Viv