I want to trigger a php function like this-
"If I click Here" (it can be a button or link)
// then this function would work:
<?php
function a(){
$b=10;
echo $b;
}
?>
How can I do that without ajax ? (I don't want to reload the page.You can show me way to put that php function inside javascript too if required)
-Thanks.
"Edit" : Would it be possible by php cURL ?