We can export information from database as word document, by adding header and output HTML as we usually do.
header("Content-type: application/vnd.ms-word");
header("Content-Disposition: attachment;Filename=document_name.doc"); http://stackoverflow.com/questions/124959/create-word-document-using-php-in-linu...