Something wrong about the \n

Dear friends, I’m currently working on codecademy PHP lessons.

I’m using xampp server at my local machine and it is working fine. But \n is not baking line breaks.

Any ideas?

Hi,
you need to define a header, check this:
https://stackoverflow.com/questions/12410695/new-line-n-in-php-is-not-working

1 Like

Oh. I didn’t know that. Maybe this should be added to lessons where /n is told in codecademy…

Thank you @mirja_t :blue_heart:

1 Like