Nickey Pickorita
Nickey Pickorita
738 Points

PHP Basics (Date Exercise)


Could someone please assist me with this exercise?

It's saying I forgot the echo function, however, my code formating looks exactly the same as the one they required.


Screenshot of the code:

1 Answer

Kris Bradbury
Kris Bradbury
2,445 Points

Hi it looks like you have put a comma instead of a full stop in your echo statement, if you swap that over then it should work for you. It does also say to put your code below the comment line and I’m not sure if that would have an effect or not but probably worth pasting it below the comment just in case!