0

Hello everybody.
There is a row in my db table I have set it's type as "TIMESTAMP". How should I fill in?
Should get the current timestamp in php and send it to that row, correct?
So how can I do that?

Edited by Niloofar24

3
Contributors
5
Replies
27
Views
2 Years
Discussion Span
Last Post by Niloofar24
0

Well, I still haven't got what to do exactly. Where should I put CURRENT_TIMESTAMP() in the script? I'm using PDO.
Would you please help me more?

1

in your database (phpadmin for example) use default current_timestamp and in attribute on update current_timestamp

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.