Toggle navigation
Dashboard
Dashboard Tracker
Add / Edit My Forums
System Announcements
Discussion
Active Thread Feed
Top Threads Today
Top Threads This Week
Top Threads Library
Go!
View All
View All
Login
Logout
Home
Forums Index
Server Side
/
PHP Server Side Scripting
8:18 pm May 1, 2026
This page requires javascript.
Forum Moderators:
coopster
Message Too Old, No Replies
What does "\t" and "\n" inside a string mean?
cosmoyoda
Msg#:3608800
12:34 am on Mar 24, 2008
(gmt 0)
I've never had to use those (sorry, I'm a newbie), but I was wondering what they do? Is "\n" equivalent to the br tag?
eelixduppy
Msg#:3608803
12:51 am on Mar 24, 2008
(gmt 0)
\n is a linefeed character and \t is tab character. For more information on escaped characters, refer to the documentation on strings: [
php.net
...]
cosmoyoda
Msg#:3610460
8:56 pm on Mar 25, 2008
(gmt 0)
Thanks again, eelixduppy! I should have read the PHP.net manual before posting that question.
Now I got used to "\t" and "\n" and I'm using it a lot.
Join The Conversation
Register
For Free! -
Become a
Pro Member
!
See forum categories
-
Enter the Forum
Moderators and Top Contributors
Moderator List
| Top Contributors:
This Week
,
This Month
,
Apr
,
Mar
,
Archive
,
Top 100 All Time
,
Top Voted Members
Hot Threads This Week
April 2026 Google Search Observations
AdSense Earnings and Observations - April 2026
what do they want?
Hello again, it's been a while
I need some SEO help
SEO question
Do you get tired of others copying your content?
5 SEO Tips That Actually Worked for My Blog in 2026
Home
Forums Index
Server Side
/
PHP Server Side Scripting
8:18 pm May 1, 2026