
Can't Seem to Get the Format Correct
My brain seems to have given up. I can't seem to figure out how to format
the following code so that I can insert the variable. What I'm trying to do
is to insert the variable sSectionName where I've indicated. I've tried
various combinations of single quote, double quote and <%= %> until I'm
blue in the face. I've indicated where in the code I'd like to insert the
variable on the line I've labeled 4. Would someone please help?
<!--#include file="../db.conn.open.asp"-->
<!--#include file="../adovbs.inc"-->
<!--#include file="../incCategories.asp"-->
<%
DIM sType, sSectionName
sSectionName = Request.QueryString("section")
%>
<html>
(I've shortened the intermediate code)
1. <td bgcolor="#FFFFFF">
2. <div align="left">
3. <img src="../Images/Menu%20Graphics/spacer.gif" width="185" height="45">
4. <a
href="../Printer%20Friendly%20Version/NHG_PFSectionWriter.asp?sType=FAQ&Cate
gory= (I want to put the variable sSectionName here) ">
<img src="../Images/Printer%20Friendly/printer_friendly.gif" width="87"
height="45" border="0"></a>
<img src="../Images/Menu%20Graphics/spacer.gif" width="100" height="45"><a
href="javascript:emailArticle('Health_Concerns/allergies.asp')">
<img border="0" src="../Images/Printer%20Friendly/email_to_friend.gif"
width="75" height="44" alt="Email this Article">
</div>
</td>
Thanks, in advance.
D Long