Asked by: Przemek Wojtas
I have ical file locally and I am retrieving it and converting to an array like this:
$ical = new ICal('ical/basic.ics');
$test = ($ical->events());
dd($test);
Which gives me an output like:
And each item in an array has values such as:
What I want to do is write a loop that would loop throught each array and output for example 'summary' then I will expand it to do what I want it to do however the question is how to write such a loop?
No comments:
Post a Comment