MySQL Forums
Forum List  »  PHP

Removing multiple values
Posted by: Emiliano Ruggeri
Date: December 27, 2005 02:38AM

I retrieve all the dates of the entries in my blog using mysql_fetch_array().
I then take out the month and create a monthly archive (which is a link that clickied shows all the entries of that month).
Everything works, except I don't know how to retrieve the dates only once.If I have 20 entries in January, it retrieves 20 rows and shows them all and I end up having 20 links that say "January 2005".
I would like to "filter" the datas so that I get only ONE instance of the same value.
Anybody knows how?
Thanks

Options: ReplyQuote


Subject
Written By
Posted
Removing multiple values
December 27, 2005 02:38AM
December 27, 2005 11:05AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.