I use this code in php to generate the current date/time
$time = date("m.d G:i:s T Y");
Now i need to store the value in time
in mysql table
However it is show as illegal in my table , that is as 0000-00-00 00:00:00
The datatype used by my column is datetime
Thanks for helping me fix it:)