db->query("UPDATE phpgw_accounts SET account_lastloginfrom='" . "$ip', account_lastlogin='" . time() . "' WHERE account_id='$account_id'",__LINE__,__FILE__); } } ?>