Make each row display only once?
Posted: Sun Sep 02, 2007 4:16 pm
This is what I'm using to display the pages updated within a week for a website:
Only thing is I want to make it so that $page_name will not repeat itself if it's already listed. How do I go about doing this?
Hope I described my problem well enough.
Thanks!
Code: Select all
if ($last_edit > date("Y-m-d", strtotime ("-8 days"))) echo "<a href='http://www.website.org/php/$page_name.php'>$page_name</a> -- $last_edit<br>"; else echo "";Hope I described my problem well enough.
Thanks!