Get php page content | Sololearn: Learn to code for FREE!
+ 1

Get php page content

I have a php page where you can change the html element, adding div by javascript. I need a way to read with php the local html element (modified) of the page. Can someone help me?

28th Dec 2021, 10:42 PM
Biondi Tommaso
Biondi Tommaso - avatar
1 Answer
Just use echo statement Put what ever HTML tags in echo statement within double quotes Example : echo "<h1>test</h1>";
29th Dec 2021, 12:07 AM
Manimaran K
Manimaran K - avatar