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();
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();
上一篇:小油菜拆骨肉炒饭的做法?
联通补卡多少钱啊??:下一篇
精彩评论