If I were to create this variable:
$example = $_GET['test'];
I would get this error message if $_GET['test'] is not set:
Notice: Undefined variable...
How can I create variables like this (without having to use if statements and the like) without having to see this error message?
1 Answer