Perl: the Markov chain saw | |
PerlMonks |
Re: Backslashes with DBI quote( ) and MySQLby lachoy (Parson) |
on Mar 06, 2002 at 02:52 UTC ( [id://149600]=note: print w/replies, xml ) | Need Help?? |
If the data made it into the database and is the same coming out as you put it in then I don't think you have a problem :-) You may be running into how the mysql client represents textual data (itself escaping quotes but not backslashes) or something similar. All the quote() method does is ensure that the data can be put into the database (or passed to a stored procedure, or whatever) -- what the database does with the data after that is its own business. Chris
In Section
Seekers of Perl Wisdom
|
|