Codice PHP:
$str '18/11/2007';
list(
$giorno,$mese,$anno) = explode('/',$str);
$mysql_date $anno.'-'.$mese.'-'.$giorno