• Kursy
  • Kompilator kodu
  • Dyskusja
  • Cennik
  • Zespoły
Menu
+ 1

Why \n Not Working

I'm trying to use \n for new line but not working Please anyone can explain me Here is my code https://code.sololearn.com/w13UW1ySem9i/?ref=app

phpecho\n
3rd Jan 2021, 7:26 PM
Madhav
Madhav - avatar
3 odpowiedzi
+ 1
echo "Hello<BR>Hi"; does the job :)
3rd Jan 2021, 7:39 PM
Martin Ed
Martin Ed - avatar
0
Try this\n\r
3rd Jan 2021, 9:56 PM
Shadoff
Shadoff - avatar

Często masz takie pytania?

Ucz się bardziej efektywnie, za darmo:

  • Wprowadzenie do Pythona

    7.1M uczących się

  • Wprowadzenie do Java

    4.7M uczących się

  • Wprowadzenie do C

    1.5M uczących się

  • Wprowadzenie do HTML

    7.5M uczących się

Zobacz wszystkie kursy
Popularne dzisiaj
Best way to learn a new programming language fast?
3 Votes
Where make_unique is better than unique_ptr(raw pointer)
0 Votes
Will i land a job
1 Votes
why is my leaderboard diferent than my brothers
0 Votes
Why we use oops in python rather than any function ?
1 Votes
someone helps how can i make two for loops over a 2d array in c ( i didn't learned pointers yet )
0 Votes
Project ideas
1 Votes
What do you think would be good for some new courses?
0 Votes
Do you think AI will replace programmers?
0 Votes
Question to sololearn
1 Votes