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.
What are the basic principles of response which move the reader closer to the aesthetic stance?
Normal 0 false false
Explain the term Aspect-Oriented Programming in detail?
What are the Characteristics of a good model?
What was a Hooverville? What were people implying when they used the Presidents name in this way?
Explain the term Abstraction in program model checking and how it is distingush with data abstraction?
Description Create an XML document that describes a data model a web application for listing courses at BCIT (e.g. COMP 2899). Requirements B
18,76,764
1945666 Asked
3,689
Active Tutors
1457354
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!