php - Time not updating correctly in mysql -


i trying add update sets users last activity, @ moment displaying 838:59:59 time in mysql, , not quite sure why.

here query using on each page update it.

mysql_query("update users set last_activity = ".time()." user_id = ".$user_id); 

any ideas why appreciate

thanks

mysql_query("update users set last_activity = now() user_id = ".$user_id); 

Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -