Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

Warning : Undefined array key

<?php if(isset($_GET['fname']) && isset($_GET['age'])): ?> //isset is important
        <br/>
        Your name is <?php echo $_GET["fname"]; ?>
        <br/>
        Your age is <?php echo $_GET["age"]; ?>
<?php endif; ?>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Warning #Undefined #array #key
ADD COMMENT
Topic
Name
5+8 =