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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

those darn quote's ...

Status
Not open for further replies.

DaHapMan

Programmer
Oct 31, 2000
20
0
0
NL
those darn quote's ...

I got some data from a database, like This Is An "EXAMPLE" Text
The word 'example' is surrounded with "" ..
now what's my problem? I want to show it in a text-field!!!

<input type=&quot;text&quot; value=&quot;<%=strExample%>&quot;>

But this results in a box with: This Is An

How do I have to handle this problem?

thanx..
 
this will work for display, but then if you want to post it back to the database, then you need to get the 's back outa there.....

<input type=&quot;text&quot; value=&quot;<%=Replace(strExample, &quot;&quot;&quot;&quot;, &quot;'&quot;)%>&quot;>
 
doesn't work for me .. but replace(strExample,&quot;&quot;&quot;,&quot;&quot;&quot;) will work!
smiletiniest.gif


Thanx
 
That last post was mine ... :eek:)
Don't know why the name is cliche?!

whatever ...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top