Einzelnen Beitrag anzeigen
Alt 18.05.2006, 13:11   #2
Potassium
Inventar
 
Registriert seit: 06.03.2003
Alter: 37
Beiträge: 3.954

Mein Computer

Standard

PHP-Code:
function format_form2date ($year$month$day) { 
    
$year intval($year);
    
$month intval($month);
    
$day intval($day);
    if ((
checkdate("$month""$day""$year")) <> "") { 
    
$string $year "-" $month "-" $day
    } else { 
    
$string ""
    } 
    return 
$string

versuchs mal damit.
Potassium ist offline   Mit Zitat antworten