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
KCC: Within a Site, a Windows server 2003 service termed as KCC automatically produces a topology for replication among the domain controllers in the domain utilizing a ring structure. The KCC is a built in procedure that executes on all domain contro
Senator Joseph McCarthy’s tactics: In 1950, McCarthy told Republican audience in Wheeling, West Virginia, that he had a list of 205 Communists who were working in the State Department. In reality he had no such list. Only two days later he could
In what of the license is Joomla! released under?
18,76,764
1936696 Asked
3,689
Active Tutors
1425093
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!