I'm attempting to retrieve the information stored in an array using JavaScript.
Below is my JavaScript program containing the array:
[0] => Array (
[Program] => Array (
[event_name] => Event Daily
[keyword] => KVIP SHOWTIME
[start_date] => 2017-04-07 12:00:00
[end_date] => 2017-04-03 15:00:00
[location] => Studio 1
[slots] => 10
[event_color] => #9a9aff
[is_allday] => 1
[repeat_program] => daily-weekly
[repeat_every] => 1
[repeat_days] => ,1,2,3,4,5,6
[repeat_yearly] => 0
[is_end] => 0
)
)
[1] => Array (
[Program] => Array (
[event_name] => NEWS
[keyword] => KVIP NEWS
[start_date] => 2017-04-30 05:30:00
[end_date] => 2017-04-01 19:00:00
[location] => Studio 4
[slots] => 05
[event_color] => #fb8979
[is_allday] => 1
[repeat_program] => monthly
[repeat_every] => 0
[repeat_days] =>
)
)
[2] => Array (
[Program] => Array (
[event_name] => ASAP
[keyword] => KVIP ASAP
[start_date] => 2017-12-31 12:00:00
[end_date] => 2017-04-01 15:00:00
[location] => Studio 10
[slots] => 16
[event_color] => #9a9aff
[is_allday] => 1
[repeat_program] => yearly
[repeat_every] => 0
[repeat_days] =>
)
)
Can someone guide me on how to extract the data from this array using a for loop? I attempted to use $.each but it did not yield the desired results. Thank you for any assistance provided.