Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

10 lines (7 sloc) 0.317 kb
<?php
$myhtml = file_get_html(VIEWS.$this->viewPath.'/html/view.html');
$myhtml->find('h1[id=post_title]', 0)->innertext = $post['Post']['title'];
$myhtml->find('p[id=date_created]', 0)->innertext = $post['Post']['created'];
$myhtml->find('p[id=post_body]', 0)->innertext = $post['Post']['body'];
echo $myhtml;
?>
Jump to Line
Something went wrong with that request. Please try again.