I have a php file that does a database lookup and sends emails to users.
How do I include this in a javascript function?
Adding another sentence so I can submit this question.
I have a php file that does a database lookup and sends emails to users.
How do I include this in a javascript function?
Adding another sentence so I can submit this question.
if you want to make PHP execute from javascript, you can make an AJAX request to a server that executes the PHP.