Suppose i have a php class named "test.php" and inside of that class i have a function named "my_test()".
Now i want to call this function when my button is been clicked, so in my html class named "my_page.html" write like so ---
<button name="mytestbutton" type="button" onclick="my_test()" class="btn btn-primary btn-xs" value="my_test()">My Test</button>
But i need to write something so it recognize in my html that onclick it should do the function "my_test()". But how can i call my function in the html button, can any one have a solution for this problem.