ID: 17001 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Bogus Bug Type: Feature/Change Request Operating System: Linux PHP Version: 4.2.0 New Comment:
Use addcslashes() it allows you specify the list of characters that should be escaped. Previous Comments: ------------------------------------------------------------------------ [2002-05-04 02:26:18] [EMAIL PROTECTED] it would be VERY useful if the addslashes() function would take a second parameter to specify that only one particular kind of quote is to be escaped, instead of escaping both... sort of like htmlentities()'s quote_style. - erick ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=17001&edit=1