About quotes
| From: | Tomator | Date: | Sun, 15 Sep 2002 20:56:29 +0000 |
| Subject: | About quotes | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-15829@lists.php.net to get a copy of this message | ||
Hi.
I've made new site. Everything in database. To managing data there are some
PHP scripts. One of them gets text input from user and strores it into db or
(depending on some circumstances) gets aditional input. Data already got are
propagated in hidden fields of an HTML form. But there is a problem.
Input can contain also HTML tags, which causes unwanted effects. ie:
<HIDDEN VALUE="<img src=\"image.gif\"> And some text">
looses "And some text".
How to fix this? Is there any simple solution?