Today in years past:

$year: $subject
$excerpt
"; } # we've checked that entry, now let's go to the next line and check it $i++; } # once you get to the end of the file, stop! let's not waste a busy CPU's time... while ($i <= $total_length); if ($total_results == "0") { echo "No previous entries."; } ?>