RE: [PHP] Apostrophes and Textareas

From: Date: Thu, 08 Nov 2001 19:58:27 +0000
Subject: RE: [PHP] Apostrophes and Textareas
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-73941@lists.php.net to get a copy of this message
Actually, I avoid using add/strip slashes because it adds them to characters tha tI don't need them to. I ususally use a basic str_replace command just to get the apostrophes... str_replace("'", "\\'", $TextAreaVaraible); -Jeff At 01:16 PM 11/8/01 -0600, Boget, Chris wrote: >> Everything works great, but one small problem How do I work around >> apostrophes within the textareas? I keep getting errors when they are >> present and no errors when I remove all of the apostrophes. > >addslashes() >stripslashes() > >Chris >

« previous php.general (#73941) next »