Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
News Manager Archive
#3
yojoe Wrote:Wouldn't it be better to use a pattern for news files, like: news-year-month-day-ID as I suggested in newsmanager thread ?
This way you'd be able to scan whole news directory, push the output to an array, and for month==current echo array[2] Smile

I feel there's a way simper solution, but I'm not a php mastah Wink

ps. caching all data would be also great.

Thanks for your input, if noone suggests any better method I will give that a shot.
Reply


Messages In This Thread
News Manager Archive - by mikeh - 2011-04-27, 06:59:51
News Manager Archive - by yojoe - 2011-04-27, 07:48:32
News Manager Archive - by mikeh - 2011-04-28, 00:12:49
News Manager Archive - by n00dles101 - 2011-04-28, 00:26:57
News Manager Archive - by mikeh - 2011-04-28, 00:49:54
News Manager Archive - by n00dles101 - 2011-04-28, 01:02:21
News Manager Archive - by mikeh - 2011-04-28, 02:47:21
News Manager Archive - by n00dles101 - 2011-04-28, 03:21:00
News Manager Archive - by Connie - 2011-04-28, 04:03:59
News Manager Archive - by n00dles101 - 2011-04-28, 05:32:11
News Manager Archive - by Connie - 2011-04-28, 16:37:22
News Manager Archive - by roog - 2011-05-17, 19:23:57



Users browsing this thread: 1 Guest(s)