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