How can I use "PHP Simple HTML DOM Parser" to get the contents of an <h1></h1> tag?
- by KeriLynn
I'm new to PHP =) Right now I am using PHP includes for my site template. I have my header, containing all my <head></head> info. What I want to do is write a code that will take the contents of the <h1></h1> tag from the page, and echo it into the <title></title> tag in my header.php include.
I got the PHP…