Categories:
.NET (357)
C (330)
C++ (184)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
Can You Specify the "new line" Character in Single-Quoted Strings
Can You Specify the "new line" Character in Single-Quoted Strings? - PHP Script Tips - Understanding String Literals and Operations
✍: FYIcenter.com
You can not specify the "new line" character in a single-quoted string. If you don't believe, try this script:
<?php echo '\n will not work in single quoted strings.'; ?>
This script will print:
\n will not work in single quoted strings.
2007-04-20, 5205👍, 0💬
Popular Posts:
Can event’s have access modifiers ? Event’s are always public as they are meant to serve every one r...
The following variable is available in file1.c, who can access it? static int average; Answer: all t...
What will be printed as the result of the operation below: main() { char *ptr = " Cisco Systems"; *p...
How many bits are used to represent Unicode, ASCII, UTF-16, and UTF-8 characters? Unicode requires 1...
Where are cookies actually stored on the hard disk? This depends on the user's browser and OS. In th...