hey guys
Am trying to store dateand time in mysql table that wil show date n time that a row was enter with this table code
product_date datetime NOT NULL default NOW(),
Bt it gives error of invalid default value so i remove the default NOW() then it create the table bt when i inserted into the table and view my database the colomn for datetime it was 000000000.
plz who understand the reason shud help me
Thank in anticipation
Am trying to store dateand time in mysql table that wil show date n time that a row was enter with this table code
product_date datetime NOT NULL default NOW(),
Bt it gives error of invalid default value so i remove the default NOW() then it create the table bt when i inserted into the table and view my database the colomn for datetime it was 000000000.
plz who understand the reason shud help me
Thank in anticipation
Comment