Solved

make a report fit to a4 paper with php

Posted on 2007-11-27
3
1,901 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

What is Node.js? Node.js is a server side scripting language much like PHP or ASP but is used to implement the complete package of HTTP webserver and application framework. The difference is that Node.js’s execution engine is asynchronous and event…
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 tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Learn how to set-up PayPal payment integration in your Wufoo form. Allow your users to remit payment through PayPal upon completion of your online form. This is helpful for collecting membership payments, customer payments, donations, and more.

713 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