How to Call PHP Function in a Class from HTML Button Click
I am a rookie PHP developer. I have a PHP web project with an HTML page that contains an Add button. The name of the page is Awards.html . Elsewhere I have created a PHP class, Awards.php which contains a function. The source code of my files is given as follows: Awards.html <div class="divparent"> <div class="modal-header"> <div class="btn-group"> <button class="btn" data-bind="click: closeModal">Exit</button> </div> </div> <div class="modal-title"> <h1 id="headerid">Awards</h1> </div> <div class="modal-body"> <input id="hdnValueCurrentAwardSoid" type="hidden" value="null" /> <div class=