I'm trying to create a very simple php blog, have got as far as including files in a directory and only including the newest file in index.php.
I would like for only a certain section of the newest file to display, can this be done?
Current code used on index.php is below.
<?php 
$files = glob('blog/*.php'); 
sort($files);      
$newest = array_pop($files); 
include $newest;
?>