Re: Apostrophes and Textareas
| From: | Steve Brett | Date: | Fri, 09 Nov 2001 16:36:27 +0000 |
| Subject: | Re: Apostrophes and Textareas | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-74029@lists.php.net to get a copy of this message | ||
have a look at get_html_translation_table htmlspecialchars() ,
htmlentities() and get_html_translation_table.
these function do all the work for you without reinventing the wheel.
Steve
"Joe Van Meer" <joe@coastaldestination.com> wrote in message
news:20011108190735.1421.qmail@pb1.pair.com...
> Hi there...I'm new to php coming from an asp background. I have a form
with
> two textarea form elements which is eventually inserted into a sqlServer
db.
> 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.
>
> Thx in advance, Joe
>
>