| Welcome to WebmasterWorld Guest from 18.104.22.168 |
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
|Subscribe to WebmasterWorld|
|What does "\t" and "\n" inside a string mean?|
| 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?
| 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...]
| 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.
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
© Webmaster World 1996-2014 all rights reserved