List:General Discussion« Previous MessageNext Message »
From:Orlando Andico Date:July 12 1999 3:45pm
Subject:Re: Eliminating / in text.
View as plain text  
On Mon, 12 Jul 1999, Martin E. Koss wrote:
..
> When using PHP forms, has anyone found a way to eliminate the forward-slash
> / that precedes a ' in text when a ' is entered in a text area on a form.
> For example, if someone entered the phrase: I'm hungry
> It would appear as: I\'m hungry
> When viewed in a page.

Turn off the "magic quotes." I forgot exactly how to do it, but it's there
in the docs somewhere. Sorry.. but I use mod_perl/HTML::Embperl nowadays..


---------------------------------------------------------------------
Orlando Andico <orly@stripped>                   +63   (2) 937-2293
Mosaic Communications, Inc.                        +63 (912) 800-8262
Any sufficiently perverted technology is indistinguishable from Perl.

Thread
Eliminating / in text.Martin E. Koss12 Jul
  • Re: Eliminating / in text.Ying Zhang12 Jul
  • Re: Eliminating / in text.Orlando Andico12 Jul
RE: Eliminating / in text.Darren L Sweeney12 Jul