How to call a PHP function from JavaScript?

-1, half an answer, OP asked how to call a php function from javascript. Pou only showed how to call a php PAGE. You need to add post variables in the ajax call and php checking for those post variables and then calling that php function if those post variables exist. – M H Aug 28 '15 at 18:48
For More Information Please Refer:

You May Also Like to Read: