Search

Categories:

loadHTMLFile($file_name); $images = $html->getElementsByTagName('img'); foreach ($images as $img){ $src = $img->getAttribute('src'); $img->setAttribute('src', $level."search/".$src); } $html->getElementsByTagName('h1')[0]->nodeValue = $title; $html->getElementsByTagName('p')[0]->nodeValue = "Today in Masonic History John Alexander Macdonald is born in 1815."; echo $html->saveHTML(); } ?>