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.
Test Messages (TM): Short messages sent to and through hand-phones. Both IMs and TMs are sent to and through portable devices and hence provide room for flexibility and can be reached anytime. However, both being overused forms in personal communicati
Normal 0 false false
Hi, I send this Assessment( case study), please read it carefully and do it as the ATTACHEMENT FILE POINTS. According to university roles it must be provide citation for each paragraph, so have make sure and you have to write the citation for each paragraph as Chicago (16th Edition) referencing st
18,76,764
1940217 Asked
3,689
Active Tutors
1450004
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!