Posted by Benjamin Niemann on 03/19/06 23:46
Stefan Mueller wrote:
>>> How can I display a " in an input box?
>>>
>>> I tried
>>> <input type = "text" value = "\"">
>>> without success.
>>
>> Use either value=""", value=""" or value='"'
>
> Isn't there something like the PHP command
> addslashes(...)
> so that each character gets displayed properly?
'htmlentities' should do the job.
--
Benjamin Niemann
Email: pink at odahoda dot de
WWW: http://pink.odahoda.de/
Navigation:
[Reply to this message]
|