I have a php file that generates a variable and I would like the variable to be put into a JavaScript function which is called by onclick on the main page. Is this possible to send from PHP to JavaScript?
I have a php file that generates a variable and I would like the
Share
You can do the following: