RE: [PHP-DB] quotations in value field
| From: | Ford, Mike [LSS] | Date: | Wed, 14 Apr 2004 14:33:21 +0000 |
| Subject: | RE: [PHP-DB] quotations in value field | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-33877@lists.php.net to get a copy of this message | ||
On 14 April 2004 15:21, Mikael Grön wrote:
> On Apr 14, 2004, at 15:14, H-Mac Moderator wrote:
>
> > Mikael-
> >
> > I suspect you want htmlspecialchars, Not stripslashes. See:
> > http://us4.php.net/manual/en/function.htmlspecialchars.php
> Well, I guess a combination of htmlspecialchars and some
> other function
> to convert it back, before it gets sent of in the _plain text mails_.
You don't need to convert it back -- that happens automatically when the
form is resubmitted.
Cheers!
Mike
---------------------------------------------------------------------
Mike Ford, Electronic Information Services Adviser,
Learning Support Services, Learning & Information Services,
JG125, James Graham Building, Leeds Metropolitan University,
Beckett Park, LEEDS, LS6 3QS, United Kingdom
Email: m.ford@leedsmet.ac.uk
Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211