Re: store backslash in mysql database [message #170704 is a reply to message #170689] |
Mon, 15 November 2010 18:21 |
Michael Fesser
Messages: 215 Registered: September 2010
Karma:
|
Senior Member |
|
|
.oO(Peter)
> Having read right to the very end, when they say \n is replaced by '\n'
> litteral, what do they mean? If that means the \n is replaced by a
> completely different MySQL representation of \n, then is it still going
> to work for me?
The replacement just makes sure that some special chars are correctly
transferred into the database. It doesn't modify your data.
And the '\n' in the documentation isn't meant literally as a two-char
string, but represents the special control char 'LF' (linefeed). You
could also write it as \x0A for example.
Micha
|
|
|