Missing a "," in the example explanation

<PLEASE USE THIS TEMPLATE TO HELP YOU CREATE A GREAT POST!>

<Below this line, add a link to the EXACT exercise that you are stuck at.>

https://www.codecademy.com/courses/web-beginner-en-7I7Xm/0/7?curriculum_id=5124ef4c78d510dd89003eb8#

I’m not stuck in this exercise, I’m just giving you guys a heads up concerning the example explanation.
In the INSTRUCTIONS:
Quote : “Then, print out join(”," $the_array)." end of quote.
You’re missing the “,” (argument separator) inside the join function.

<Below this line, in what way does your code behave incorrectly? Include ALL error messages.>

```

Replace this line with your code.

<do not remove the three backticks above>

Read my post again, slower this time. :smiley:

1 Like
$the_array = array("blabla",20,"sabhxzj");
sort($the_array);
echo(join(",", $the_array));

Sir, I’m aware of how the function itself works, I’m reporting a bug in the syntax created by your editor.

You’re correct, and your response to the others made me smile :wink:

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.