This forum is now read-only. Please use our new forums at discuss.codecademy.com.

Objects in PHP Forum

View Course » View Exercise

316 points
2d16755c9dfbc4d795ea0b94b8163165?s=140&d=retro
Submitted by
Giovanni Tempobono
about 4 years ago

Bug in PHP lessons?

Hi,

I am getting an error on lesson 04/07 of Functions in PHP, part II where it tells me that the code doesn't print anything, but I can't find an error in my code:

<?php

    function displayName() {
        echo "gtbono";
    }

    print displayName();

    ?>
  </p>
</body>

I am getting this into lesson 06/07 and 07/07 too, is this some kind of bug on codeacademy?


0 votes

permalink

Hello,
it's a reported bug. :-(
I hope it will be fixed very soon. :-)
By the way, I think this is the wrong QA forum. ;-)

3108 points
5154c6cf115b457ac9000021_667301409
Submitted by
boring12345
about 4 years ago

2 Comments

2d16755c9dfbc4d795ea0b94b8163165?s=140&d=retro Giovanni Tempobono about 4 years ago

I'm sorry if I posted on the wrong forum, but I am more relaxed now, I thought it was something with my browser hahaha :) Thank you!

5154c6cf115b457ac9000021_667301409 boring12345 about 4 years ago

No problem & you're welcome! :-)