[Solved] Use href then execute a PHP function [closed]


You can just link to a php page and pass a request variable.

<a href="https://stackoverflow.com/questions/44533266/myPage.php?someVar=someValue">Link</a>

// myPage.php
<?php echo($_REQUEST['someVar']); ?>

This will output “someValue” on the new page.

1

solved Use href then execute a PHP function [closed]