Skip to main content
Inspiring
April 9, 2008
Question

Looping through array

  • April 9, 2008
  • 2 replies
  • 337 views
HI Folks,

I'm trying to loop through an array that contains an event start and end date.

I'm trying to loop through the days in the month to create a calendar and highlight the days that have an event.

Can anyone help?

    This topic has been closed for replies.

    2 replies

    Inspiring
    April 9, 2008
    Mattastic wrote:
    > Can someone help me with the logic?
    >

    Output the display of a 'day' outside the inner loop. Inside the inner
    loop, just output the display for each event.
    MattasticAuthor
    Inspiring
    April 9, 2008
    I'm trying to use a nested loop to loop through the array for each day, this works fine, but I cant seem to find out how to show the days when events dont occur?

    Can someone help me with the logic?

    Thanks in advance