I have this button:
<input type = "button" name = "btn_sample" value = "click me" />
And also have this php function on the upper part of my page:
<?php
function php_click(){
echo "Hello!";
}
?>
I want to link the button to the php function which calls the function everytime the button is pressed. Is there anyway I could do this?