<?php$inicio = strtotime('10-01-2008');$fin = strtotime('15-01-2008');for ($fecha = $inicio; $fecha <= $fin; $fecha += 24 * 60 *60){ echo date('Y-m-d', $fecha) , PHP_EOL;}?>