Re: backslash t

From: Date: Wed, 22 Jan 2003 19:27:56 +0000
Subject: Re: backslash t
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-132666@lists.php.net to get a copy of this message
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 documentation. So to type \tab use ' \tab ' (note that these are 'single quotes') or " \\tab "

« previous php.general (#132666) next »