title: How to insert .doc file content into mysql table
body: <p>I need to insert a doc file into mysql table using php. </p>
  
  <p>I have the file format like :</p>
  
  <p><img src="https://i.stack.imgur.com/X9ntP.jpg" alt="demo.doc">.</p>
  
  <p>I want all the titles (e.g. <code>Resume</code>) be inserted into to <code>Type</code> column, and subtitles (e.g.<code>Jobtitle</code>) be inserted into <code>title</code> field in mysql table.</p>
  
  <p>I have a form </p>
  
  <pre><code>&lt;FORM ENCTYPE="multipart/form-data" ACTION="{$_SERVER['PHP_SELF']}" METHOD=POST&gt;
  Upload this file: &lt;INPUT NAME="userfile" TYPE="file"&gt;
  &lt;INPUT TYPE="submit" VALUE="submit" name=submit&gt;&lt;/FORM&gt;
  </code></pre>
  
  <p>So, how could I make it happen?</p>