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
What is EMS? How might standardization help the EMS vendors?
Publish/subscribe model: This is an approach to distributed system communication wherein publishers publish information to a subject address & subscribers subscribe to information at subject address. This model has the benefit of making publishers
Universal Environments: Unit testing involves the definition of drivers and stubs. Drivers are program components that invoke operations on the unit under test. Stubs are program components that implement operations invoked by the unit. Stubs and driv
18,76,764
1943781 Asked
3,689
Active Tutors
1454258
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!