Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Strange symbol

Status
Not open for further replies.

AsianOne974

Programmer
Joined
Oct 27, 2003
Messages
5
Location
US
Here's my problem. I have a textarea on my page that will display text that is stored in the database. The text can contain html. For example, if

<a href="
was retrieved from the database and placed in the textarea, the hyperlink looks like this

<a href="
where the second &current is replaced by ¤t. I only seem to have problems with &current.

Is there something I can do to prevent this?

Thanks,
 
&curren is the html code for the universal currency symbol, or, more specifically, "[&curren;]".

Would it be possible for you to store the data in the database as this:

Code:
<a href="[URL unfurl="true"]http://www.test.com?criteria=1&amp;current=2">Test</a>[/URL]

?

If not, what scripting language are you using to communicate with the database?

*cLFlaVA
----------------------------
Lois: "Peter, you're drunk!"
Peter: "I'm not drunk, I'm just exhausted from stayin' up all night drinking!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top