Solved

make a report fit to a4 paper with php

Posted on 2007-11-27
3
1,772 Views
Last Modified: 2012-05-05
I am new for php i can write a code to get data form mysql database , what should i learn to make agood report for print a4 paper or are there a tool to help to make it print in a 4 paper
0
Comment
Question by:teera
3 Comments
 
LVL 21

Assisted Solution

by:nizsmo
nizsmo earned 100 total points
ID: 20356752
Are you wanting to make sure that the report prints and fits in an A4 page? The best practice and way to do this in my opinion is to trial and error, see how much you can fit, and use print-preview to see how close you are to the boundaries in terms of your contents on the page.

Hope this helps.
0
 
LVL 36

Assisted Solution

by:Loganathan Natarajan
Loganathan Natarajan earned 100 total points
ID: 20357248
according to me, you may use CSS + HTML, images styles, to design for exact fit for A4 size with using db data...
0
 
LVL 20

Accepted Solution

by:
steelseth12 earned 150 total points
ID: 20357315
Do NOT use fixed values.
E.g <table width="100%"> will fit exactly on any paper size.
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

New Relic: Our company recently started researching several products to figure out what were the best ways for us to increase our web page speed and to quickly identify performance problems that we may be having. One of the products we evaluated wa…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This video teaches users how to migrate an existing Wordpress website to a new domain.
Learn how to set-up custom confirmation messages to users who complete your Wufoo form. Include inputs from fields in your form, webpage redirects, and more with Wufoo’s confirmation options.

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now