hey there guys,
i've got the following snippet of a code
$date = mktime(0, 0, 0, $year, $month, $day);
basically, im trying to convert the year, month and day variables into a single date variable in the form yyyy-mm-dd (which im told is the standard form for a MySQL database.
anyway... when i submit the form, the date in the row appears as 0000-00-00 ! can anyone help?