|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
ASP Hyperlinking via VBScript
Can anyone help with this code?
The First Code Set gets the Movie ID from the Movie Table and hyperlinks it with the Movie Name so when you click on the Movie Name in the list, it takes you to info.asp diplaying the movie info. It works fine. <% Response.Write ("<a href=""info.asp?ID=" & objRS("fldMovieID") & """>") Response.Write (objRS("fldMovieName")) Response.Write ("</a>") %> I would like the above code to somehow be modified into the code below, but I keep getting a darn error that says: Error Type: Microsoft VBScript runtime (0x800A01C2) Wrong number of arguments or invalid property assignment /displaymoviesbackup.asp, line 75 Line 75 is; <a href="info.asp?ID="<% objRS("fldMovieID") %>""><% objRS("fldMovieName")%>"></a> Can someone please write out the code for me? I know I'm close somehow, but I can't see exatly where the error would be. ![]() |
|
#2
|
|||
|
|||
|
Try
<a href="info.asp?ID=<% =objRS("fldMovieID") %>"><% =objRS("fldMovieName") %>></a>
__________________
====== Doug G ====== I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain |
![]() |
| Viewing: ASP Free Forums > Programming > Visual Basic Programming > ASP Hyperlinking via VBScript |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|