This forum is now read-only. Please use our new forums! Go to forums

0 points
Submitted by Reianna-Bryant
over 8 years

How come the is no result shown?

If the array is already coded on the page, how come we don’t see the example result in the result screen?

Answer 56029d579113cb27e200025a

0 votes

Permalink

Cause there is no echo ?

<?php
    $array = array("Egg", "Tomato", "Beans");
    echo $array[0];
?>

And now there is a result in the result screen :)

BR D,

points
Submitted by Codmakr
over 8 years