Re: [PHP-DB] PROBLEM IN INSERTING TEXT WITH SINGLE QUOTE

2001-04-22 Thread Phil Jackson
Try stripslashes(fieldname) to "unescape" those slashes when retieving from DB Phil J. Jennifer Arcino Demeterio wrote: > Hello all, > > I am having a problem in inserting text with apostrophe to mysql database. > > When a user fills out a form field that includes an apostrophe , > the ver

Re: [PHP-DB] PROBLEM IN INSERTING TEXT WITH SINGLE QUOTE

2001-04-22 Thread Rasmus Lerdorf
> When a user fills out a form field that includes an apostrophe , > the verify screen shows it as and it That's because magic_quotes_gpc is enabled in your php.ini file. You can turn this off if you wish, or simply do a stripslashes() on the string you are displaying. > is then input into th

[PHP-DB] PROBLEM IN INSERTING TEXT WITH SINGLE QUOTE

2001-04-22 Thread Jennifer Arcino Demeterio
Hello all, I am having a problem in inserting text with apostrophe to mysql database. When a user fills out a form field that includes an apostrophe , the verify screen shows it as and it is then input into the database as - automatically adding the backslash. The problem is that when the