Please tell me how to get the value of element node in php like js
水东水南
水东水南 2018-09-06 22:46:11
0
2
1346

For example, js can get the text or attributes of a certain element node and modify it, can php do it?

水东水南
水东水南

reply all(1)
jesse

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!

  • reply Hello, 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.
    水东水南 author 2018-09-07 22:36:58
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!