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

Getting A URL From The Database 1

Status
Not open for further replies.

Figzus

Programmer
Joined
Mar 21, 2005
Messages
36
Location
US
In a write response how would you anchor the name you pulled from the database from a URL stored in the databse. I need that Name I pulled from the database to have the link from URL so when someone clicks on it it goes to that URL thats stored in the database. Thanks
 
what do you mean by "name pulled from database" is the url store on the db or a name
 
I have this Response.Write (rsMOWebIndex("ArtName")) and the ArtName needs to be the one that when the users click on it then it goes to the URL out on the Internet. That URL or address is stored in the database with that particular Art Name. Sorry I think I explained it the best I can.
 
still not sure what your mean but try this

Response.Write ("<a href="""&rsMOWebIndex("ArtName")&""">"&rsMOWebIndex("ArtName")&"</a>")

you might also mean this

Response.Write ("<a href="""&rsMOWebIndex("ArtUrl")&""">"&rsMOWebIndex("ArtName")&"</a>")
 
Hey it was the last one thanks a lot that helped me out.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top