Tell me do you know why doesn't the following code print the newline properly?

Submitted by: Muhammad
<?php
$str = ‘Hello, there.nHow are you?nThanks for visiting Us’;
print $str;
?>
Because inside the single quotes the n character is not interpreted as newline, just as a sequence of two characters – and n.
Submitted by: Muhammad

Read Online WordPress Themes Developer Job Interview Questions And Answers