I have a an HTML button where I want the onclick to call a PHP function. I need to use AJAX to do this but I am totally lost. There is more that occurs inside the php functi
Use any javascript library to make ajax calls to the php script on the server. For example:
Or if you just want really simple stuff, take a look at the sajax ajax toolkit for php