DBD::mysql::quote() as far as I can tell takes the string and wraps the entire thing in single quotes also taking the carriage returns and making them a backslash and the letter n.
Brian -----Original Message----- From: Jeff Zucker [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2003 11:57 AM Cc: [EMAIL PROTECTED] Subject: Re: $dbh->unquote() [EMAIL PROTECTED] wrote: >"\n" => "\r\n" in windows env. > LOL. How can something be equal to itself plus something else? And the "windows env" is not a monolithic thing, its behaviour can be modified by binmode. A better way to say it is: "\n" is written as "\015\012" in a windows environment if the filehandle has not been binmoded. However in any environment '\n' is written as a backslash and the letter n. The OP has apparently somehow stuck his "\n"s inside single quotes and made them literals. I doubt very much that DBD::mysql::quote() does that, so it must be happening somewhere else in the OP's code. -- Jeff.
