Send PHP variable to JavaScript function

QuestionsSend PHP variable to JavaScript function
sethbeckerman5 Staff asked 14 years ago

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 on the main page. Is this possible to send from PHP to JavaScript?


View on Stack Overflow