I need to run an if in PHP only if there is a click button. If there is no click the if does not execute. I already imagine that I will need to interact with JavaScript with PHP, but ... I read several posts but I still can not do it.
Put simply, it would look something like this:
<a href="">Clique</a>
<?php
if (Clique == true) {
Execute isso;
}else{
Não execute nada;
}