& and &
- From: Jeremy <jeremy0505@xxxxxxxxx>
- Date: Fri, 3 Mar 2006 12:43:12 -0000
How can one stop a browser from converting
&
to
& ?
We have a textarea in our system wehre a user can type in some html code
and have it saved to the database. When the data is retireved and
redisplayed it is displayed as simply &.
HTML snippet:
<TEXTAREA NAME="p_html" ROWS=6 COLS=70 ALIGN="VIRTUAL" WRAP="YES">
fred
&
&
</TEXTAREA>
When displayed, the user predictably sees
fred
&
&
What workarounds are there for this - I am sure it's a problem for
others - is there a way of "escaping" the value before display?
--
jeremy
.
- Follow-Ups:
- Re: & and &
- From: Harlan Messinger
- Re: & and &
- From: Spartanicus
- Re: & and &
- From: Andy Dingley
- Re: & and &
- Prev by Date: Re: Validing XHTML vs Html
- Next by Date: Re: & and &
- Previous by thread: How to get rid of scrolbars around an object?
- Next by thread: Re: & and &
- Index(es):
Relevant Pages
|