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
> 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
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
On Wed, 11 Jul 2001 03:32, Dave Stewart wrote:
> Hi,
>
> I have a script that let's me update news on my site but recently
> whenever I use ' apostrphe's or " speechmarks I end up with a slash i.e
> Jack's becomes Jack\'s
>
> From reading here and in the archives it appears I have to edit the
> sc
Hi,
I have a script that let's me update news on my site but recently whenever I
use ' apostrphe's or " speechmarks I end up with a slash i.e Jack's becomes
Jack\'s
>From reading here and in the archives it appears I have to edit the script
with the stripslashes function.
I was wondering if any
5 matches
Mail list logo