Display last login time
Are you formatting the mysql2date() input string as ‘Y-m-d H:i:s’, as specified in the Codex? Also, why not use this same format as $date_format? EDIT: What output do you get for $last_login? The second argument in human_time_diff() is optional. Why not just omit it? That way, if you get valid output from $last_login, you should … Read more