Sublime Forum

Commented code is still operating

#1
Array <?php $array1 = array(6, "Ravi" , "Alisha",array(5,10,"hello")); ?> <?php echo "$array1[3][1]";
?>
<?php
$array2= array("first_name" => "Ravi" , "second_name" => "Alisha"); ?>
<?php
echo $array2["first_name"] . " ". $array2["second_name"];

?><br />
<pre><?php
print_r($array1);

?></pre>

The commented section is still functioning … idk what i am doing wrong … i think its simple but i cant find the error…

0 Likes

#2

the commented section isnt showing here …so i posted the screenshot of my actual code

0 Likes

#3
0 Likes

#4

Thanks ! i got it

0 Likes