-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[HELP] How to Insert New Page break and set margin, page orientation #522
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ok, I have a MYSQL Database with a table named trials.
It contained 2 columns ( id - name ) with several rows such as below :
id - name (both columns are VARCHAR-255).
A1 - Avatar
B1 - Browser
C1 - Calculator
A2 - Align
The query that I use is : "SELECT * FROM trials ORDER BY id ASC"
What I'm trying to do is Make a DOC file and add an new Page for each of row with PHPDOC ( 1 page for 1 id and 1 name ), In Ms Office, it was known as "New Page Break" .
How to do so ? or... How to Insert "New Page break " like ms Office did (always NEW PAGE BRAK whatever the paper size) ?
Also how to set the margin and page orientation automatically ?
Eg :
I want the content of "mytrial.doc" as below :
Page 01 -> A1 - Avatar
Page 02 -> A2 - Align
Page 03 -> B1 - Browser
Page 04 -> C1 - Calculator
PS: I use Laravel 4 as my framework
Thanks B4 :)
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: