RE: [PHP] Maintain " and ' in html textfields - REPLY

2003-03-04 Thread Bryan Lipscy
From: Daniel Guerrier [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 04, 2003 8:13 PM To: 'php user group' Subject: RE: [PHP] Maintain " and ' in html textfields - REPLY I forgot to mention that I'm use add and stripslash on the data so magic quotes wouldn't help.

Re: [PHP] Maintain " and ' in html textfields

2003-03-04 Thread Leif K-Brooks
www.php.net/htmlentities Daniel Guerrier wrote: If I have text containing quotes, single or double in my database, and I try to set the text as a value for my html text field. The quote in the text will prematurely close the value="" or value='' html and cut of the remainder of the text. How ca

RE: [PHP] Maintain " and ' in html textfields - REPLY

2003-03-04 Thread Daniel Guerrier
I forgot to mention that I'm use add and stripslash on the data so magic quotes wouldn't help. The problem is the " from the text is closing the " from the html. > > --- Bryan Lipscy <[EMAIL PROTECTED]> wrote: > > Look up magic quotes in the docs. > > > http://www.php.net/manual/en/ref.info.php#

RE: [PHP] Maintain " and ' in html textfields

2003-03-04 Thread Daniel Guerrier
I forgot to mention that I'm use add and stripslash on the data so magin quotes wouldn't help. The problem is the " from the text is closing the " from the html. --- Bryan Lipscy <[EMAIL PROTECTED]> wrote: > Look up magic quotes in the docs. > http://www.php.net/manual/en/ref.info.php#ini.magic-q

RE: [PHP] Maintain " and ' in html textfields

2003-03-04 Thread Bryan Lipscy
Look up magic quotes in the docs. http://www.php.net/manual/en/ref.info.php#ini.magic-quotes-gpc The docs are mmm mmm good. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Maintain " and ' in html textfields

2003-03-04 Thread Daniel Guerrier
If I have text containing quotes, single or double in my database, and I try to set the text as a value for my html text field. The quote in the text will prematurely close the value="" or value='' html and cut of the remainder of the text. How can I prevent this. I curently have this: "); ?> I