Switch to full style
:read: Start PHP with us. Includes topics to help you in php
Post a reply

The isset() Function

Mon Oct 27, 2008 6:08 pm

Code:

<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>




Post a reply
  Related Posts  to : The isset() Function
 php function     -  
 srand function example     -  
 Function Recursion     -  
 Using the array_slice () Function     -  
 Function return more than one value     -  
 Nested function     -  
 array_key_exists function use     -  
 function key recognition     -  
 Function Overloading     -  
 Using include function     -  

Topic Tags

PHP Functions