"R.S. Herhuth" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > I need to strip off quotes both single and double from form input. This > is what I have but it doesn't appear to be working: > > str_replace("\"","",$string); > str_replace("\'","",$string); > > Please help. > > Thanks, > Ron
I think you need to refer to addslashes() / stripslashes() http://www.php.net/manual/en/function.addslashes.php http://www.php.net/manual/en/function.stripslashes.php Brad -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php