Location: PHPKode > scripts > MS Word And Excel > ms-word-and-excel/Readme.txt
This Is a Simple Class To Create Ms Word And Excel Document

Here is Example Of Creating Doc

$doc = new MsCreator();

$doc->File = "Ashfaq"; /////////// New File Name 

$doc->Type = "";       ///////// Type Excel or Leave Blank For Doc 


$doc->Text = "";        /////// Enter Content Here Html Content /

$doc->Preview();      /////////// For Preview In Page

$doc->Download();    /////////// For Download File/////

Return current item: MS Word And Excel