PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Moderator: General Moderators
keithh0427
Forum Newbie
Posts: 15 Joined: Thu Dec 16, 2004 8:17 am
Post
by keithh0427 » Wed Dec 29, 2004 6:23 pm
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).
feyd
Neighborhood Spidermoddy
Posts: 31559 Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA
Post
by feyd » Wed Dec 29, 2004 6:48 pm
[php_man]COM[/php_man] can do those things... although it's not the most fun to go through...
ianlandsman
Forum Newbie
Posts: 24 Joined: Thu Dec 30, 2004 9:50 pm
Location: New York
Post
by ianlandsman » Thu Dec 30, 2004 10:07 pm
Yeah I think COM is the only way if you want to dynamically access the word doc. Def not fun/stable/etc
keithh0427
Forum Newbie
Posts: 15 Joined: Thu Dec 16, 2004 8:17 am
Post
by keithh0427 » Fri Dec 31, 2004 6:38 am
Thanks. Given that, I think I'll just use the fpdf.lib and do it in PDF. Same results in the end.