Question : showing incorrect date

hello
can someone tell me why if i look in myphpadmin, it shows that a null date field if no data is entered is 0000-00-00 but when i display the page it reads: 30-11-1999. how do i correct this? many thanks

Answer : showing incorrect date

forgot one parenthesis! Sorry, this is the stuff that always slows me down.
1:
$destroydate=(is_null($row['destroydate'])) ? NULL : date("D M Y", $row['destroydate']); 
Random Solutions  
 
programming4us programming4us