PHP Classes

Showing error when trying to open the word file created

Recommend this page to a friend!

      PHP Classes blog  >  PHP Word Document Gen...  >  All threads  >  Showing error when trying to open...  >  (Un) Subscribe thread alerts  
Subject:Showing error when trying to open...
Summary:Showing error when trying to open the word file created
Messages:2
Author:hari
Date:2015-10-21 05:20:23
Update:2015-10-21 22:18:05
 

  1. Showing error when trying to open...   Reply   Report abuse  
Picture of hari hari - 2015-10-21 06:50:47
Im using MSWord 2007. When try to open the file created by vsWord, it showing some error : "The Office open XML file "file name" cannot be opened because there are problems with the contents." . However I can open the file by clicking Ok. How can we get rid this.

And also if I run htmlparser.php, Im getting undefined variable error "$html". U can see this on example given in this webpage

  2. Re: Showing error when trying to open...   Reply   Report abuse  
Picture of Ashraf Gheith Ashraf Gheith - 2015-10-21 22:18:05 - In reply to message 1 from hari
Can you please attach the codes