You are here: Re: Report writing in PHP - what tools for making formating nice? « PHP Programming Language « IT news, forums, messages
Re: Report writing in PHP - what tools for making formating nice?

Posted by Colin McKinnon on 11/03/05 23:30

Dave Smithz wrote:

<snip>
>
> My initial thoughts are to just format the information in a table and then
> they print it out. But due to the dynamic nature of the reports and what
> is included, there might be issues with regard to the width fitting on a
> piece of paper, and the general format will not look as good as a Word
> document would.
>

Three letters: CSS

> What ways could I approach this problem? Is there anything available which
> would make report formatting attractive and easy?
>

You could do all sorts of things to make it look fancy in print.....but why?
Yes, we all know people for whom an Email isn't real unless its in black
and white on A4 - even if its spam. But choosing this as your starting
point reinforces this kind of behaviour instead of solving it.

PDF is better, but instead of dead tree - it's dead data. An HTML table
(yes, I do mean table - I know you can create fancy layouts with CSS and
don't need tables to do it but....) can be imported back into a
spreadshseet or a PHP array.

Don't kill your data - give it a nice new home!

C.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация