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.
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
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#
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
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
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
6 matches
Mail list logo