What do you want to save?
Add Code snippet
New code examples
-
PHP 2021-09-03 15:51:05
php in javascript
If your whole JavaScript code gets processed by PHP, then you can do it just like that. If you have individual .js files, and you don't want PHP to process them (for example, for caching reasons), then you can just pass variables around in JavaScript. F... Add solution