php - Current time when MySQL record is saved to database -
i'm working zend framework 1.12 , mysql. want add column in database, save currenct datetime when record inserted table.
anyone knows how can defined column? function must working on mysql site, not php.
you must change column type timestamp , , in default field set current_timestamp
Comments
Post a Comment