Created
September 19, 2012 19:54
-
-
Save Jragon/3751850 to your computer and use it in GitHub Desktop.
PHP alt sytax
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title><?=$title; ?></title> | |
</head> | |
<body> | |
<? if($loggedIn = true): ?> | |
<p>You're logged in!</p> | |
<? else: ?> | |
<p>You're not logged in!</p> | |
<? endif; ?> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment