Results 1 to 1 of 1

Thread: AssignIng HTML tags in a VBScript variable

  1. #1
    Join Date
    Apr 2006
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default AssignIng HTML tags in a VBScript variable

    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!
    Last edited by gugu; 04-26-2006 at 06:56 AM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •