www.webdeveloper.com
Results 1 to 4 of 4

Thread: How can I do this...?

  1. #1
    Join Date
    Feb 2003
    Location
    Pakistan
    Posts
    18

    How can I do this...?

    Hello guys,
    Is it possible to do something like this..

    <%

    ctr = cInt(request.Form("ctr"))
    hitCtr = getCounter(ctr)
    %>
    <div align="center"><b>You
    are visitor number<font color="#FF0000">
    <% =hitCtr %>
    </head>
    <body>
    <div align="center">

    <form name="form1" action="counter.asp?ctr=1" method="post">
    <input type="submit" name="submit" value="submit">
    </div>
    </form>
    <%
    function getCounter(num)
    getCounter = num+1
    end function
    %>

    Thanks

  2. #2
    Join Date
    Feb 2003
    Location
    Pakistan
    Posts
    18
    never mind...thanks...:-)

  3. #3
    celebguy_dv Guest

  4. #4
    celebguy_dv Guest

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles