amdRocks
02-27-2003, 06:56 PM
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
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