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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help inserting asp Html email code

Status
Not open for further replies.

Rexxx

MIS
Oct 16, 2001
47
I am emailing a form but need to nest in an asp value.

The following line has a problem:

HTML = HTML & &quot;<input type=&quot;&quot;text&quot;&quot; name=&quot;&quot;cname&quot;&quot; value=&quot;&quot;<%=Request(&quot;&quot;cname&quot;&quot;)%>&quot;&quot; size=94 maxlength=100>&quot;

Within code above the problem is with this piece:
value=&quot;&quot;<%=Request(&quot;&quot;cname&quot;&quot;)%>&quot;&quot;

For one, there is a nest within a nest. I think I need ampersands but don't know where. Can someone help?
 
Try taking out the double quotes.
HTML = HTML & &quot;<input type=&quot;text&quot; name=&quot;cname&quot; value=&quot;<%=Request(&quot;cname&quot;)%>&quot; size=94 maxlength=100>&quot;

Also is request the variable for your recordset object.
example: set request=server.createobject(&quot;adodb.recordset&quot;)

or are you requesting it from another page.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top