Use PHP to create a DOC file on a Unix Box based on an HTML webform selection

后端 未结 1 1257
野趣味
野趣味 2021-01-26 01:14

I have an HTML file which contains a webform with multiple questions which have a YES / NO responses.

If the question has a YES answer, I would like a predefined ( per q

相关标签:
1条回答
  • 2021-01-26 02:00

    you only have to link your html form to some script (php, jsp, ...) like this

    <form action="/myscript.php" method="post">
       YOUR FORM
       <input type="submit" value="Send Form">
    </form>
    

    Then script does the whole work...here are some examples for php:

    • Create Word Document using PHP in Linux
    • Reading/Writing a MS Word file in PHP
    0 讨论(0)
提交回复
热议问题