Hello,
I want to use spinner while process foreach loop in php.
My functing is:
I am creting events using google calendar API in php.
for each of my array values I am creating event. and after each event create there is one sleep(5).
in this foreach loop I want to apply spinner. How to do this?
foreach ($myarray_name as $key => $i)
{
$event_creted=gcal_event_create($event, $cal_id, 'test_name', $by_name = TRUE);
sleep(5);
}