Created
May 26, 2015 21:34
-
-
Save Deaner666/a5fa7456077db7a17b01 to your computer and use it in GitHub Desktop.
Outputting a URL parameter in PHP
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
<?php | |
if ( isset($_GET['key']) ) { | |
echo $_GET['key']; | |
} else { | |
// Fallback behaviour here | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment