A button to start php script, how?

前端 未结 5 2073
予麋鹿
予麋鹿 2020-12-30 05:31

I want to make a button that starts my php script after I click it. So do I just make 2 separate files and have action post to the php file and then let it start? or is ther

5条回答
  •  醉酒成梦
    2020-12-30 06:28

    What exactly do you mean by "starts my php script"? What kind of PHP script? One to generate an HTML response for an end-user, or one that simply performs some kind of data processing task? If you are familiar with using the tag and how it interacts with PHP, then you should only need to POST to your target PHP script using an button of type "submit". If you are not familiar with forms, take a look here.

提交回复
热议问题