Re: stripslashes/addslashes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> <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...


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux