Hi,
When a user wants to add a comment on my site and uses either " or ', and when it gets printed out, comes out as /" or /', either to the web page or on a form to alter.
The only "treatment" i give it after its submited on the form is:
$comentarioc = str_replace("\r\n", "\n", $comentarioc);
$comentarioc = str_replace("\r", "\n", $comentarioc);
Is there a way to solve this? So it can accept both " and ', and be able to alter/print it with no problem?
Thanks.
Pag
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
- [PHP] numerics Edward Peloke
- Re: [PHP] numerics Jason Wong
- Re: [PHP] numerics Kevin Stone
- Re: [PHP] numerics Kevin Stone
- Re: [PHP] numerics Steve Werby
- Re: [PHP] numerics Justin French
- Re: [PHP] problem with " and ' Pag
- Re: [PHP] problem with " and ' Jason Wong
- [PHP] form POST file upload mystery Mike D
- Re: [PHP] form POST file upload mystery Adam Voigt