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, 5035👍, 0💬
Popular Posts:
What are the two kinds of comments in JSP and what's the difference between them? <%-- JSP Co...
What is the difference between Class and structure’s ? Following are the key differences between the...
What is the purpose of finalization? The purpose of finalization is to give an unreachable object th...
What does AddressOf operator do in background ? The AddressOf operator creates a delegate object to ...
Can each Java object keep track of all the threads that want to exclusively access to it?