The isset() Function : Variable Set Unset : Language Basics PHP Source Code


PHP Source Code » Language Basics » Variable Set Unset »

 

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>

           
       



HTML code for linking to this page:

Follow Navioo On Twitter

PHP Source Code

 Navioo Language Basics
» Variable Set Unset