How to embed php code in javascript ?. Today, I found a friend wandering around a website forum asking: how to embed php code in javascript? This is a very simple question, so I shared it with you online. I learned how to embed php code in javascript when I was wandering around a website forum?
This is a very simple problem, so I sent it to the Internet to share with you, and there is no end to learning!
The problem is as follows:
How to embed php code in javascript?
I am a newbie. please do not bother me! Hey ......
A friend answered the following question:
After reading it, I thought it was not easy to use, so I analyzed the reasons:
Generally, JS is made on the template page.
Few are written in PHP. Not conducive to modification.
If you want to interact with PHP, you can use
Php json. yes. I hope this article will be helpful for beginners of PHP. You are welcome to come to the school of building a website frequently!
Why? This is a very simple problem, so I sent it to the Internet to share with you, learn...