php - HTML form export to Word document -


First of all, I'm not a web developer, so it's easier on me :)

What I see To do this, the user has to fill a simple HTML form and store it in a word document. Here's the form:

  & lt; Form action = "test2.php" method = "post" & gt; Name: & lt; Input type = "text" name = "name" & gt; Email: & lt; Input type = "text" name = "email" & gt; & Lt; Input type = "submit" & gt; & Lt; / Form & gt;  

And here is test2.php:

   This text word & lt; Ul & gt; Can be seen in. & Lt; Li & gt; List 1 & lt; / Li & gt; & Lt; Li & gt; List 2 & lt; / Li & gt; & Lt; / Ul & gt; & Lt; / Body & gt; & Lt; / Htm & gt; & Lt; Html & gt; & Lt; Body & gt; Hello & lt ;? Php $ _POST resonant ["name"]; ? & Gt ;! & Lt; Br> Your mail & lt ;? Php echo is $ _POST ["mail"]; ? & Gt; & Lt; / Body & gt; & Lt; / Html & gt;  

I am not familiar with PHP extensively, so any help will really be appreciated.

Thanks,

Maybe I'll just use the DOMPDF. Or maybe using OpenOffice CLI to make a doctor from HTML.


Comments