You are here: Grouping database output « PHP SQL « IT news, forums, messages
Grouping database output

Posted by ryan.m.powers on 07/03/07 00:58

Hi,

I run a school newspaper and I am trying to create a databased archive
of our previous news stories. Each story has a dateline field in the
table (ex: 2007-06-04). What I'm trying to do is query the database
and then group all the stories by month. So I'd have an array of
years, months, and then stories. Does anyone know an easy way to do
this?

Thanks!

Ryan

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация