0

I have a string stored like so

$text="hello sir, 
this is my house"

However when I echo the string it appears as

hello sir, this is my house"

Is there a way to keep the spacing without using <br> or \r\n?

Patrick Q
  • 6,373
  • 2
  • 25
  • 34

0 Answers0