Re: How develop reports in MS WORD?

From: Date: Sat, 04 Sep 2004 17:59:00 +0000
Subject: Re: How develop reports in MS WORD?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-195868@lists.php.net to get a copy of this message
Hello, On 09/04/2004 04:50 PM, Cbharadwaj wrote:
I want to developing reports using PHP. These reports i have to develop on MS WORD. I have a database with multiple records
                 VAL 1 | VAL 2
                 -----------------
                 VAL3 | VAL 4
                 ----------------
                 VAL 5 | VAL 6
How to print these multiple rows on word in this format.
Under Windows you can use some COM objects. If you are not under Windows, you can always generate your report in RTF format which is a common format for interchange of word processor documents that obviously MS Word supports. In that case you may want to try this RTF document generator class that lets you convert a subset of HTML tags to RTF: http://www.phpclasses.org/rtfgenerator -- Regards, Manuel Lemos PHP Classes - Free ready to use OOP components written in PHP http://www.phpclasses.org/ PHP Reviews - Reviews of PHP books and other products http://www.phpclasses.org/reviews/ Metastorage - Data object relational mapping layer generator http://www.meta-language.net/metastorage.html

« previous php.general (#195868) next »