This puts the date on the page once for all the entries for that date. It does not put the <fieldset> or <legend> tags in the source for the page. I tried using the echo and print function but they didn't work ( besides escaping the code is more effectient )