is is possible to execute a PHP function, such as the one below through a PHP or HTML link?
function MyFunction() { blah blah blah }
The link has to execute a script that can execute your function. It's not like JavaScript
what script would i need for PHP to execute my function??
a php script.
Your link:
<a href="yourcode.php?executeFunction=true">Link</a>
yourcode.php: <?php
if($_GET['executeFunction']){ classname::MyFunction(); //or if its an object... object->MyFunction(); }
?>