开发者

How do I create time to be store as mysql TIMESTAMP type, in PHP?

How do I create time to be store as mysql TIMESTAMP type, in PHP?开发者_高级运维


On the PHP side, you can use the date function:

$date = date('Y-m-d H:i:s');


use now() in select query.

like this,

   dattime = now();
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜