cinematic_jesi
09-10-2008, 08:23 AM
hey, I'm trying to write this correctly but I'm unable to find a resolution:
<%
dim blogvar
blogvar= request.QueryString("blog")
dim foo
foo = (Blogs.Fields.Item("ID").Value)
%>
In case you are wondering, this is placed within a loop and the "(Blogs.Fields.Item("ID").Value)" is a Dreamweaver variable for a recordset.
Then it does the following:
<li <% if blogvar=foo then response.write("id='active' ") end if%>><a title="<%=(Blogs.Fields.Item("Title").Value)%>" href="#"><%=(Blogs.Fields.Item("Title").Value)%></a></li>
I can't get.. foo to work. =[
<%
dim blogvar
blogvar= request.QueryString("blog")
dim foo
foo = (Blogs.Fields.Item("ID").Value)
%>
In case you are wondering, this is placed within a loop and the "(Blogs.Fields.Item("ID").Value)" is a Dreamweaver variable for a recordset.
Then it does the following:
<li <% if blogvar=foo then response.write("id='active' ") end if%>><a title="<%=(Blogs.Fields.Item("Title").Value)%>" href="#"><%=(Blogs.Fields.Item("Title").Value)%></a></li>
I can't get.. foo to work. =[