I Need to insert a date into mysql database i dont know which is better
using DATE or VARCHAR as the date field ??
im using now the DATE type but whenever i insert any date its not inserted in the DB
0000-00-00 it appears like this .
the Code:
$mydate=date("$year.$month.$day");
insert into ....values ($mydate);
i dont know what's wrong
plz help