Computing.Net > Forums > Web Development > php tab command

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

php tab command

Reply to Message Icon

Name: FBI Agent
Date: July 5, 2004 at 17:40:04 Pacific
OS: WIN XP
CPU/Ram: 1.79Ghz/ 384 RAM
Comment:

well we all know that there's \r\n on a windows machine to make an ENTER in a text file... but is there such thing as a command that will make a TAB in a text file? if so... someone should either invent it or give me the command ;-)

FBI_Agent



Sponsored Link
Ads by Google

Response Number 1
Name: FishMonger
Date: July 6, 2004 at 09:03:15 Pacific
Reply:

dec => 9
hex => 9
oct => 011
Perl & PHP => \t

I believe the \t notation is valid in other languages as well, unfortunately, my knowledge is limited to Perl (and a little php).


0

Response Number 2
Name: Infinite Recursion
Date: July 6, 2004 at 11:05:14 Pacific
Reply:

The \t also works in C++.

cout << "\tSee" << endl;

IR


0

Response Number 3
Name: FBI Agent
Date: July 6, 2004 at 11:26:33 Pacific
Reply:

is there a website that you guys have that shows all of these \ commands? cuz i've seen only \r\n, \r, and \n on a php website... i dont know what all these others are like \s.

but thanks for the \t. ill put it in
(all these slashes makes this post look retarded)

FBI_Agent


0

Response Number 4
Name: Infinite Recursion
Date: July 6, 2004 at 14:51:27 Pacific
Reply:

Most of the ones I use are hiding away in just about every reference book I have...

If you want a website, this lists a few of them: http://www.technipal.com/cpp/escape.html

IR


0

Response Number 5
Name: FBI Agent
Date: July 6, 2004 at 16:52:08 Pacific
Reply:

cool, thanks

FBI_Agent


0

Related Posts

See More



Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Web Development Forum Home


Sponsored links

Ads by Google


Results for: php tab command

OR command in PHP www.computing.net/answers/webdevel/or-command-in-php/592.html

file_get_content command www.computing.net/answers/webdevel/filegetcontent-command/3505.html

php wont work in hidden div www.computing.net/answers/webdevel/php-wont-work-in-hidden-div/3626.html