Posted by Cleverbum on 02/28/06 02:37
the other thing is that it's just a common way of storing a string,
it's called an escape character and can be used when normal use of a
character would end a string.
for instance:
the text; david said "hello" would need to become "david said
\"hello\"" so that php knew which quotes were the start and end of a
string and which werent... \ is php's signal that the character isnt
what it might seem to be so if you were to use \n it would give you a
line feed, \t is a tab and so on.
You can probably work this to your advantage if you just look it up in
the right reference :)
Navigation:
[Reply to this message]
|