Sunday, February 25, 2018

html - Detect click on via PHP





Is there a way to detect a click on a HTML button in PHP, or do I really need to put a form tag around the element and make it an input submit button.





OR







Thanks in advance.


Answer



PHP is a server-side language. If you'd like to tell a server-side script about clicks on HTML elements, you have to either submit the form or use AJAX.


No comments:

Post a Comment

plot explanation - Why did Peaches' mom hang on the tree? - Movies & TV

In the middle of the movie Ice Age: Continental Drift Peaches' mom asked Peaches to go to sleep. Then, she hung on the tree. This parti...