Calling a php function with the help of a button or a click
<p>I have created a  class named as "member" and inside the class I have a function named update(). Now I want to call this function when the user clicks 'UPDATE' button.<br>
I know I can do this by simply creating an "UPDATE.php" file. </p>

<p>MY QUESTION IS :-</p>

<p>Can I call the "update() function" directly without creating an extra file? I have already created an object of the same class. I just want to call the update function when the user clicks on update button.</p>
