[PHP] backslash t

2003-01-22 Thread Jan Grafström
Hi, I want php to print \tab but when I do, I only get ab as output. How do I keep the \t? Thanks in advance. Jan Grafström -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] backslash t

2003-01-22 Thread Chris Shiflett
--- Jan Grafström [EMAIL PROTECTED] wrote: I want php to print \tab echo \\tab; Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] backslash t

2003-01-22 Thread Chris Hayes
At 20:19 22-1-03, you wrote: Hi, I want php to print \tab but when I do, I only get ab as output. How do I keep the \t? Jan, between double quotes, several things are translated this becomes \t a tab \r a carriage return \n a newline \ \\ \ There are more, see the

Re: [PHP] backslash t

2003-01-22 Thread bbonkosk
You need to escape the '/' with a '/', as it is a special character. So, anytime you run into an issue where it looks like PHP is trying to interpret something you just want it to print. The best first guess is to try and escape it. Just Thought I would offer a little more explaination.

RE: [PHP] backslash t

2003-01-22 Thread John W. Holmes
I want php to print \tab but when I do, I only get ab as output. How do I keep the \t? \t is a tab character. If you looked in your source code, you'd see a tab there. Use \\tab ---John W. Holmes... PHP Architect - A monthly magazine for PHP Professionals. Get your copy today.