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

databaseconnection_3 1

Status
Not open for further replies.

andreas57

Technical User
Sep 29, 2000
110
CH
hello i've got a problem again

<font COLOR=&quot;#000000&quot;><%=Server.HTMLEncode(rs.Fields(&quot;name&quot;).Value)& &quot;&quot;%></font><br>

with & &quot;&quot; i tried to bypase the problem that there is sometimes a empty field in the database but it just doesn't wont to work. has somebody got a solution?


my secound problem is that i've got a secound table with a couple email-adresses to each actual record. how can i display these email-adresses? [sig][/sig]
 
You need to append the empty string to the value you get from the database BEFORE you send it to the encode function. Simply move the final paren outside of the quotes. [sig]<p>nick bulka<br><a href=mailto: > </a><br><a href= </a><br>Get your technical books at Bulka's Books<br>
[/sig]
 
sorry but i dont understand the response completly. could you write the command please. [sig][/sig]
 
thanks a lot

have you also got a clue how to display those email-adresses. sometimes theres only one adress but it can also go up to 15 [sig][/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top