Page 1 of 1

PHP and MailMerge

Posted: Wed Dec 29, 2004 6:23 pm
by keithh0427
Is it possible to perform a mailmerge with Microsoft Word using PHP and a MySQL database?

I know that I can export the data and then do the mailmerge manually. What I'd like to do is to execute a php script and create the document(s).

Posted: Wed Dec 29, 2004 6:48 pm
by feyd
[php_man]COM[/php_man] can do those things... although it's not the most fun to go through...

Posted: Thu Dec 30, 2004 10:07 pm
by ianlandsman
Yeah I think COM is the only way if you want to dynamically access the word doc. Def not fun/stable/etc

Posted: Fri Dec 31, 2004 6:38 am
by keithh0427
Thanks. Given that, I think I'll just use the fpdf.lib and do it in PDF. Same results in the end.