View Full Version : how to make words like \\t\h\e\\ in some echos

11-22-2006, 05:32 AM
ive seen words like \\t\\h\\e\\ (or something like that) in date echos.

how do i make my own? is there a site where it encodes it for me? im not sure of the rules for that.

any help is appreciated :)

11-22-2006, 06:58 AM
A lot of characters are special in the date function. Combine that with a double-quoted string and you have to do a lot of escaping. I single quotes so many backslashes are not required: '\t\h\e'.

11-22-2006, 10:37 AM
Maybe this helps?

$a = "It is the ".date("jS F, Y.");