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

Adding an email link....

Status
Not open for further replies.

fergman

Technical User
Oct 19, 2000
91
US
How do I implement an email link in this loop?
Right where the email address is displayed, I just can't figure out how to add the link.

SHADE = 0
do while not rs.EOF
if SHADE = 1 then
Response.Write &quot;<tr bgcolor=#C0C0FF>&quot; & &quot;<td>&quot; & rs(&quot;name&quot;) & &quot;</td>&quot; & &quot;<td>&quot; & rs(&quot;phone&quot;) & &quot;</td>&quot; & &quot;<td>&quot; & rs(&quot;cell&quot;) & &quot;</td>&quot; & &quot;<td>&quot; & rs(&quot;email&quot;) & &quot;</td>&quot; & &quot;</tr>&quot;
SHADE = 0
else
Response.Write &quot;<tr bgcolor=#FFFF80>&quot; & &quot;<td>&quot; & rs(&quot;name&quot;) & &quot;</td>&quot; & &quot;<td>&quot; & rs(&quot;phone&quot;) & &quot;</td>&quot; & &quot;<td>&quot; & rs(&quot;cell&quot;) & &quot;</td>&quot; & &quot;<td>&quot; & rs(&quot;email&quot;) & &quot;</td>&quot; & &quot;</tr>&quot;
SHADE = 1
end if
 
SHADE = 0
do while not rs.EOF
if SHADE = 1 then
Response.Write &quot;<tr bgcolor=#C0C0FF>&quot; & &quot;<td>&quot; & rs(&quot;name&quot;) & &quot;</td>&quot; & &quot;<td>&quot; & rs(&quot;phone&quot;) & &quot;</td>&quot; & &quot;<td>&quot; & rs(&quot;cell&quot;) & &quot;</td>&quot; & &quot;<td><a href='mailto:&quot; & rs(&quot;email&quot;) & &quot;'>&quot; & rs(&quot;email&quot;) & &quot;</a></td>&quot; & &quot;</tr>&quot;
SHADE = 0
else
Response.Write &quot;<tr bgcolor=#FFFF80>&quot; & &quot;<td>&quot; & rs(&quot;name&quot;) & &quot;</td>&quot; & &quot;<td>&quot; & rs(&quot;phone&quot;) & &quot;</td>&quot; & &quot;<td>&quot; & rs(&quot;cell&quot;) & &quot;</td>&quot; & &quot;<td><a href='mailto:&quot; & rs(&quot;email&quot;) & &quot;'>&quot; & rs(&quot;email&quot;) & &quot;</a></td>&quot; & &quot;</tr>&quot;
SHADE = 1
end if
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top