Print the newline
Why doesn't the given code print the newline correctly? $str = ‘Hello, there.nHow are you?nThanks for visiting Us'; print $str; ?>
Why doesn't the given code print the newline correctly?
$str = ‘Hello, there.nHow are you?nThanks for visiting Us';
print $str;
?>
Expert
Since inside the single quotes the n character is not interpreted as newline, only like a sequence of two characters – and n. Given code doesn’t print the newline correctly.
Normal 0 false false
Describe a weakness observed in AMQP 0.5 and how that weakness has been addressed in later AMQP versions.
How would you describe Franklin Roosevelt?
18,76,764
1928788 Asked
3,689
Active Tutors
1444813
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!