Log in

View Full Version : AssignIng HTML tags in a VBScript variable



gugu
04-26-2006, 06:48 AM
I would like to assign an html tag in a variable and inside the HTML there is also some VB variables, how do I go about it?
for a example:-

<%@ Language=VBScript %>
<%Option Explicit%>
<% Response.Expires = -1
On Error goto 0

Dim name ="Gundi Gugu";
Dim cmdVal = "<html>" _
"<body>"_
"<p>My Name is:"<%name%>
"</body>"_
"</html>"

<%=cmdVal%>

%>
This does not work!