IsSet variable : Variable Set Unset « Language Basics « PHP






IsSet variable


<?
   $MyVar="Hello there!";


  If(IsSet($MyVar))
    echo "The variable is set. Its value is $MyVar";

?>
           
       








Related examples in the same category

1.The isset() Function
2.Unset variable
3.unset() Function
4.UnSet array element