On 11/30/06, Johannes Lindenbaum <[EMAIL PROTECTED]> wrote:
And on retrieval stripslashes().

You shouldn't have to stripslashes your data coming from the DB.
Addslashes and friends exist to escape your data.  It is not part of
your data.  So when you INSERT "Jingle\'s Bells" when you retrieve it
you should have "Jingle's Bells" not "Jingle\'s Bells" because \ was
syntax to escape the single quote.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to