Mysql/Php - Current date and time

I have a query that I want to update a column with the current date time. The column I want to update is of the type datetime. How can I get it and set it?\[code\]else{ //If the last update is NULL, It must be players first page load. So set datetime equal to NOW $query = "UPDATE `stats` SET `last_ap_update` = WHERE `member_id` = {$_SESSION['SESS_MEMBER_ID']}"; $queryresult = mysql_query($insertqry);}\[/code\]
 
Back
Top