Codice PHP:
$elencodate=array("23/05" => "73,00", "24/05" => "73,00", "25/05" => "73,00", "26/05" => "73,00", "27/05" => "73,00", "29/05" => "73,00", "2+/05" => "73,00", "30/05" => "73,00", "31/05" => "75,00");
$prenotazione = array();
$giorno_da = 24;
$mese_da = 5;
$giorno_a = 30;
$mese_a = 5;
for($i = strtotime(date('Y').'-'.$mese_da.'-'.$giorno_da); $i<=strtotime(date('Y').'-'.$mese_a.'-'.$giorno_a); $i = strtotime("+1 day",$i)) {
$prenotazione[date('d/m',$i)] = 0;
}
echo '<pre>';
//print_r($prenotazione);
print_r(array_intersect_key($elencodate,$prenotazione));