Run »
"); $user = "John Doe"; // if empty($user) = FALSE, set $status = "logged in" echo $status = (empty($user)) ? "anonymous" : "logged in"; ?>
anonymous
logged in