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
9:04 am Jul 23, 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
,
Jun
,
May
,
Archive
,
Top 100 All Time
,
Top Voted Members
Hot Threads This Week
July 2026 Google Search Observations
Annoying Crawler, Bot, or what?
Do you still build external links in 2026?
Suspicious visitors
Home
Forums Index
Server Side
/
PHP Server Side Scripting
9:04 am Jul 23, 2026