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
Discuss the effect of environmental parameters and pollution on human health.
What is meant by the term population?
What is Message Authentication. Explain?
Write down steps in the bacterial infection.
18,76,764
1931949 Asked
3,689
Active Tutors
1461012
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!