Well, I'm embarrassed using these things \ r, \ n, \ t etc. Since I'm reading online (php.net), this seems to work, but I try this, here is my simple code:
<?php $str = "My name is jingle \n\r"; $str2 = "I am a boy"; echo $str . $str2; ?>
But the result: "My name is jingle, I'm a boy"
Either I put \ r \ n in var, or on the same line as echo, the result is the same. Does anyone know why?
source share