Re: parse errors while doing text input in <FORM>
| From: | David Robley | Date: | Wed, 15 Nov 2000 04:01:00 +0000 |
| Subject: | Re: parse errors while doing text input in <FORM> | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-25346@lists.php.net to get a copy of this message | ||
On Wed, 15 Nov 2000, Michael J. Seely wrote:
> I know I'm doing something simple wrong. How do I fix a form so it
> can take text input including quotes, commas, $,...
> I get parse error with this input - sometimes???
> I don't want to require the users to back-slash every " $ '
>
> --
>
>
> >>'>'>'>'>'>'>'>'>'>'>'>'>'>'>'>'>'>'>'>'>'>'>'>'>'>'>'>'>'>'>'>'>'>'>
> Michael Seely mseely@cimworld.com 408-777-9949
You'll be wanting addslashes and possibly urlencode.
--
David Robley | WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/
AusEinet | http://auseinet.flinders.edu.au/
Flinders University, ADELAIDE, SOUTH AUSTRALIA