navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

What am I missing in this line of code?

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> ASP and Database >> What am I missing in this line of code?
Page: [1]
 
khiser0001

 

Posts: 162
From: None
Status: offline

 
What am I missing in this line of code? - 7/10/2001 13:28:00   
I am getting an error on this line of code. I think that I have looked at it too long and I am not seeing the obvious. Please advise.

code:
response.write("<TD Width=""20%"" BGCOLOR="""  & Coloralt  & """><Font Face=""Arial"" Color=""#000000"">" & "<a href="http://www.euroswapmeet.com/userratings/vrate2.asp">View</a>" & "</Font></TD>")

The error I am getting is:

Microsoft VBScript compilation error '800a03ee'

Expected ')'

/userratings/rate_ADVSrcEngine.asp, line 87

response.write("<TD Width=""20%"" BGCOLOR=""" & Coloralt & """><Font Face=""Arial"" Color=""#000000"">" & "<a href="http://www.euroswapmeet.com/userratings/vrate2.asp">View</a>" & "</Font></TD>")
----------------------------------------------------------------------------------------------------------------------^


Mojo

 

Posts: 2431
From: Chicago
Status: offline

 
RE: What am I missing in this line of code? - 7/10/2001 13:45:00   
You have double quotes in href="<-- can't have that.
Try this instead:
code:

<% response.write("<TD Width=""20%"" BGCOLOR=""" & Coloralt & """><Font Face=""Arial"" Color=""#000000"">" & "<a href=http://www.euroswapmeet.com/userratings/vrate2.asp>View</a>" & "</Font></TD>")%>


(in reply to khiser0001)
Page:   [1]

All Forums >> Web Development >> ASP and Database >> What am I missing in this line of code?
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts