Re: stripslashes/addslashes
| From: | CPT John W. Holmes | Date: | Thu, 15 May 2003 18:21:54 +0000 |
| Subject: | Re: stripslashes/addslashes | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-27783@lists.php.net to get a copy of this message | ||
> <input type="text" value="his reply was "it's a great day" to
> the
> question">
>
> so the " marks are interfering with the value attribute...
>
> how can I get round this?
Run htmlentities() on the data before inserting it into the value attribute.
---John Holmes...