Extract all content (including HTML) from a div class using PHP
问题 Example HTML... <html> <head></head> <body> <table> <tr> <td class="rsheader"><b>Header Content</b></td> </tr> <tr> <td class="rstext">Some text (Most likely will contain lots of HTML</td> </tr> </table> </body> </html> I need to convert a page of HTML into a templated version of that HTML page. The HTML page is made up of several boxes, each with a header (refered to in the above code as "rsheader") and some text (refered to in the above code as "rstext"). I'm trying to write a PHP script to