By: julesmim
Date: 2012-02-18
Time: 16:19
|
Problem opening file Word
Hello,
I'm trying to use a Word docx template. After running my php script, I get a document that Word cannot open.
When I look into the word/document.xml that is in the docx that is produced, I can see that, for each row that I fetched from MySQL database, the OpenTBS plugin has started with a new w:document tag. So in the same document word/document.xml, I have many streams of data included in <w:document> and </w:document> tags. I thought (am I right?) that there should be only one <w:document> tag per file.
I also noticed that not all my records, but only 6 (out of about an hundred) were merged.
Could you help me find what is the problem?
|