<?php
$str = 'Hello, there.nHow are you?nThanks for visiting Us';
print $str;
?>
Why does not given code print the newline properly?
Submitted by: Administrator<?php
$str = 'Hello, there.nHow are you?nThanks for visiting Us';
print $str;
?>
Because inside the single quotes the n character is not interpreted as newline, just as a sequence of two characters - and n.
Submitted by:
$str = 'Hello, there.nHow are you?nThanks for visiting Us';
print $str;
?>
Because inside the single quotes the n character is not interpreted as newline, just as a sequence of two characters - and n.
Submitted by:
Read Online WordPress Support Officer Job Interview Questions And Answers
Top WordPress Support Officer Questions
☺ | If variable $a is equal to 5 and variable $b is equal to character a, what's the value of $$b? |
☺ | How yuo can create plugin for wordpress? |
☺ | Are there any limitations to WordPress web site? |
☺ | Do I need to know about any programming to make updates? |
☺ | Described the features of WordPress? |
Top IT (Information Technology) Categories
☺ | Computer Operator Interview Questions. |
☺ | Telecommunications Interview Questions. |
☺ | Information Technology Interview Questions. |
☺ | Data Entry Interview Questions. |
☺ | IT Support Interview Questions. |