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

[ad_1]

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

[ad_2]

solved Use href then execute a PHP function [closed]