[Solved] Calling a PHP Method from JavaScript [closed]


Your PHP is being executed from the server side. Your PHP that you’ve embedded in the JavaScript never actually ends up rendering anything.

Test it by removing any calls to the otherCourse function, and you’ll see that the query still runs.

2

solved Calling a PHP Method from JavaScript [closed]