Re: Quotes problem
| From: | David Robley | Date: | Mon, 23 Oct 2000 02:09:39 +0000 |
| Subject: | Re: Quotes problem | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-21686@lists.php.net to get a copy of this message | ||
On Sat, 21 Oct 2000, Javier Leyba wrote:
> Hi All
>
>
> When my application receives data from a form I want to display it in an input text field on
> the next (and all subsequent) pages. I did it but I've one problem: if people put quotes or
> similar chars on the first form, when I try to show it in the next pages on the input field the
> stinrg appears cutted or simply show no data.
>
> How could I solve the problem ?
>
> I tried to enable / disable magic quotes on PHP config without success....
>
> I'm using PHP 4.0.2, Apache 1..3.12 and FastTemplate.
See addslashes and stripslashes
--
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