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
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php