Hi,
Iâm getting dates from a database query. My objective is to display a
separate table for each year on the browser page. So, for instance, if I have
these dates:
02/12/13, 04/22/13, 01/01/13, 06/06/14, 11/1/14, 7/2/15, 7/22/15, 9/9/15,
they should display in 3 separate tables, one table for each year. Right
now, Iâm able to create an array, from the query results, that loops through
the dates to display them in a date range when two or more dates are together,
like 02/12/13, 02/13/13, 02/14/13. But, Iâm now asked to display all the
dates for each year in separate tables.
I think if I can just create a different array for each year, where all
the dates for 2013 are in one array, the dates for 2014 are in another array,
and the dates for 2015 are in a different array, I could achieve my goal. This
may be simple, but I canât seem to figure it out. I would very much
appreciate some help.
Thanks much,
Lewis
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive:
http://www.houseoffusion.com/groups/cf-newbie/message.cfm/messageid:6076
Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-newbie/unsubscribe.cfm