Skip to content

Instantly share code, notes, and snippets.

Created May 26, 2015 21:34
What would you like to do?
Outputting a URL parameter in 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