SyntaxFix
Write A Post
Hire A Developer
Questions
This format is used to get current timestamp and stored in mysql
$date = date("Y-m-d H:i:s"); $update_query = "UPDATE db.tablename SET insert_time=".$date." WHERE username='" .$somename . "'";