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!
You might find it easier to format the data with php (to the template specifications) and then export the data in the format you need, instead of worrying about opening templates and writing to them.
well, I believe that MS uses XML for all of its documents, so you're going to have to look at the XML structure and then fill in the tags appropriately; it's a bit of a big question to just ask for source code for
My reply maybe is too late. You can use PhpRtf library for creating rtf documents. The address there you can download sourses is http://www.phprtf.com.