But your "last updated" code shows when you loaded the page, not when the page was last updated.
Here's a last updated function I have my web developers use:
function Last_Modified()
{
$This_File=$_SERVER['SCRIPT_NAME'];
$array=explode("/",$This_File);
$lastelement=array_pop($array);
// Change to the name of the file
$last_modified = filemtime("$lastelement");
// Display the results
// eg. Last modified Monday, 27th October, 2003 @ 02:59pm
print "<h6>Last modified " . date("l, dS F, Y @ h:ia", $last_modified)."</h6>";
}
Give this a try and see if this is more to your liking...