Excuse me..
I have some project with PHP (Intranet)...
I have some question about reporting via html
1. How to give Header and Footer... ??
2. How to get num of lines from 1 web page ??
3. How to change the page ...
Example : 1 paper for 50 Lines..., But after line 30, I want change the page and Print another data...

In my case , my report like this :

Code:
Page  : 1
Group 1
================================================
|Row          1 | EXPLANATION (Data Type : Text)                 
|                  |                                                               
|                  |                                                               
--------------------------------------------------------------
|Row          2 | EXPLANATION (Data Type : Text)                 
|                  |                                                               
|                  |                                                               
--------------------------------------------------------------
-> change page

Page : 2
Group 2
================================================
|Row          1 | EXPLANATION (Data Type : Text)                 
|                  |                                                               
|                  |                                                               
--------------------------------------------------------------
|Row          2 | EXPLANATION (Data Type : Text)                 
|                  |                                                               
|                  |                                                               
--------------------------------------------------------------
Is there a way to get number of lines from text data type ??
In my mind, I will get number lines, if it's reach the limit of pages, it'll get header and data again... Or Maybe another suggestion ???
Thanks For Your help ...