$target = mktime(0, 0, 0, 2, 10, 2011) ;
$today = time () ;
$difference =$target-$today;
$days =$difference/86400;
echo "mancano all'evento ".$days." giorni";
Alla tua soluzione lui c'e' gia' arrivato,il problema è un altro...e poi ti restituisce un double ,dovresti aggiungere un round() a $days.....