The isset() Function
<html> <head> <title>Isset()</title> </head> <body> <?php $my_var = 100; if(isset($my_var)) { print("\$my_var is set... the value is " . $my_var); } print("<br/>"); print(isset($some_var) . "<br />"); $some_var = "I am set"; print(isset($some_var) . "<br />"); ?> </body> </html>