I have a piece of code, and I need to call a PHP code snippet when this function is called. Basically, it would be like this:
function jsFunc(){
//do PHP stuff
}
I don't know if this is a trivial thing, and I'm just not getting it, but I would appreciate any help.