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!

creating a link

Status
Not open for further replies.

bookouri

IS-IT--Management
Feb 23, 2000
1,464
US
I know this has to be simple.

I construct a table from my database

Name Address Phone
Smith, John 111 first st 888-8888
etc etc


I want to hyperlink the name in the table so the user can click on the name and pull up a photo of the employee.

How can I construct something like that in asp?

any help would be appreciated
 
while not rs.eof
Response.write &quot;<a href=showpic.asp?name=&quot; & server.urlencode(rs(&quot;name&quot;)) & &quot;>&quot; & rs(&quot;name&quot;) & &quot;</a><br>&quot;
rs.movenext
wend

assuming that name is the column of names in your recordset leo
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top