Guest User

Untitled

a guest
May 23rd, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. <?php if(isset($_COOKIE['username'])) echo "Username: " . $_COOKIE['username']; else echo "Log in to Lethal Corruption to enjoy the game."; ?>
  2.  
  3. ##(C|Sh)ould be
  4.  
  5. <?=(isset($_COOKIE['username']) ? "Username: {$_COOKIE['username']}" : 'Log in to Lethal Corruption to enjoy the game.')?>
Add Comment
Please, Sign In to add comment