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

String as link 1

Status
Not open for further replies.

eyal

Programmer
May 15, 2000
38
IL
I'm trying to do a dynamic menu of links at the buttom of my page, I can get all the links description fron my database and show them but I don't know how to get the string from my database (that holds the url) and assign it to the appropriate link description, in other words, is it possible (and how) to put a variant at the <a href="xyz">  ?
 
you need two fields in the database:<br>one for the description<br>one for the url<br>using standard loop<br>do until rs.eof<br>&nbsp;&nbsp;&nbsp;&lt;A href=&quot;&lt;%=rs(&quot;url&quot;)%&gt;&quot;&gt;&lt;%=rs(&quot;desc&quot;)%&gt;&lt;/A&gt;<br>&nbsp;&nbsp;&nbsp;rs.movenext<br>loop
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top