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

Popular posts from this blog

c++ - llvm function pass ReplaceInstWithInst malloc -

java.lang.NoClassDefFoundError When Creating New Android Project -

Decoding a Python 2 `tempfile` with python-future -