RE: [PHP] apostrophe's in PHP & MySQL
| From: | Jason Murray | Date: | Wed, 09 Jan 2002 03:17:48 +0000 |
| Subject: | RE: [PHP] apostrophe's in PHP & MySQL | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-79849@lists.php.net to get a copy of this message | ||
> Is there a way around this? Or is this a limitation of my
> older versions of PHP and MySQL?
You need to apply addSlashes() to the text fields before entering
them into the database.
Jason