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.
Internment camps: The Japanese living in the US were removed from their houses and were put into internment camps. The number was around 120,000. The reason given was that there was a danger of being spy, informing Japan about USA moves. Almost all ca
Normal 0 false false
During the year 1980 period, what did the FED Chairman Paul Volcker do to decrease double digit inflation of 1970’s? What was the name of the person and or the economic school’s approach which Volcker employed?
The Sherman Antitrust Act, written to eliminate monopolies and restore competition, did not work. Why?
18,76,764
1957403 Asked
3,689
Active Tutors
1412469
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!