Hey i wish to convert MsWord doc file into text file - any code sample. After which i wish to store it to in database MySql - any code. As well as how you can retrieve it inside a same format tht is at Msword file using php joomla

Regarding MS Word files:

  • DOC files are single binary files
  • DOCX files are packages (something similar to ZIP files that contains an XML manifest and multiple binary files).

You'd waste lots of valuable database space storing binary files into blobs.

It might be simpler to keep the files right into a filesystem directory and record the road to your directory in MySQL.