I want to know if I can include php scripts in javascript[1] the same way it can be done in html[2]
php
javascript
html
server.php:
You cannot have a client load PHP. The only way you can do this is to have on server.php
Basically loading the javascript into the body of the page. Or alternatively.