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 -

Cross-Compiling Linux Kernel for Raspberry Pi - ${CCPREFIX}gcc -v does not work -

java.lang.NoClassDefFoundError When Creating New Android Project -