Categories:
.NET (357)
C (330)
C++ (183)
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, 4660👍, 0💬
Popular Posts:
What's the output of the following program? And why? #include main() { typedef union { int a; char b...
What is ISO? ISO 9000 is a family of standards for quality management systems. ISO 9000 is maintaine...
Where Do You Download JUnit? Where do I download JUnit? I don't think anyone will ask this question ...
What is the purpose of the wait(), notify(), and notifyAll() methods? The wait(),notify(), and notif...
How can a servlet refresh automatically if some new data has entered the database? You can use a cli...