// Contoh update status di PHP if (isset($my_id) && $my_id > 0) { $conn->query("UPDATE aku SET last_seen = NOW() WHERE aku_id = $my_id"); }