[PHP] PHP] apostrophe's in PHP & MySQL

2002-01-08 Thread Rafael Perazzo
I have the same problem with the apostrophes in text fields form object. When I try to enter a string that contains ' the data is not entered in the database. I use PHP 4 and Mysql 3.23. How can I avoid this problem ? __ Do You Yahoo!? Send FREE v

RE: [PHP] apostrophe's in PHP & MySQL

2002-01-08 Thread Jason Murray
> 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For addit

[PHP] apostrophe's in PHP & MySQL

2002-01-08 Thread Tim Thorburn
Hi, I've been experiencing some sporadic problems with a few web forms written in PHP 3.0.16 and MySQL 3.23.31 with text fields (both single lines and rows). Generally if any of the text in these forms contains an apostrophe - either nothing is entered into the database, or nothing after the