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 - How to retrieve a variable from the Apache configuration inside the module? -

c# - Constructor arguments cannot be passed for interface mocks -

python - malformed header from script index.py Bad header -