SyntaxFix
Write A Post
Hire A Developer
Questions
<a href="home.php?click=1" class="btn">Click me</a> <?php if($_GET['click']){ doSomething(); } ?>
But is better to use JS and with ajax to call function!