PHP variable check
$page = isset($_GET['page']) ? $_GET['page'] : 'home';
DZone Snippets > alexwilliams > check
12390 users tagging and storing useful source code snippets
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
Alex Williams http://www.alexwilliams.ca
$page = isset($_GET['page']) ? $_GET['page'] : 'home';