I need to insert a doc file into mysql table using php.
I have the file format like :
.
I want all the titles (e.g. Resume
) be inserted into to Type
column, and subtitles (e.g.Jobtitle
) be inserted into title
field in mysql table.
I have a form
<FORM ENCTYPE="multipart/form-data" ACTION="{$_SERVER['PHP_SELF']}" METHOD=POST>
Upload this file: <INPUT NAME="userfile" TYPE="file">
<INPUT TYPE="submit" VALUE="submit" name=submit></FORM>
So, how could I make it happen?