I have to get a list of events everyday like this :

```
$data = getEvents();
$content='';
foreach($data as $d)
{
    $content.= $d['date'].' '.$d['ID_Event']."<br />";
}
echo $content;
-------> 
2015-03-20 1
2015-03-22 2
2015-03-23 3

```

I have to check if in this list, i have an empty day between each two dates, and put a default event with id = 4 so i have this result

```
  2015-03-20 1
**2015-03-21 4**
  2015-03-22 2
  2015-03-23 3

```

Thanks