
Why doesn?t the following code print the newline properly?
<?php $str = ?Hello, there.\nHow are you?\nThanks for visiting.?; print $str; ?>

Hi friends,
Inside the single quotes \n (newline) is not worked as new line, just as a sequence of two characters - \ and n.
Thanks.