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?
You can use the mysql function NOW() for this, or you can pase the $_SERVER['REQUEST_TIME'] in there so the query gets cached by mysql.