If so, we can count the clicks with PHP and then disable the button by adding the "disabled" attribute with PHP before spitting the HTML out. If not, we need to count with JavaScript and PHP has nothing to do with this, and we can disable the button with JavaScript.