PHP is a server-side language, not a browser-side language. It is better at data interaction and processing, while JS is a front-end language and is good at changing the page structure!
replyHello, thank you very much for your reply, but today I found a way to get the content of element nodes through php, such as <div>I am the content of div</div>. Just like js.
PHP is a server-side language, not a browser-side language. It is better at data interaction and processing, while JS is a front-end language and is good at changing the page structure!