I have a global file that capture how many user are on my site. I am trying to display that. But i want the grammar to be correct, so I am trying to write the following.
If there is only 1 user on, i want it to say "Currently 1 Visitor", but if there are more then 1 I want to write "Currently 4 Visitors". I want visitor to be plural, Thanks for any help.
If there is only 1 user on, i want it to say "Currently 1 Visitor", but if there are more then 1 I want to write "Currently 4 Visitors". I want visitor to be plural, Thanks for any help.
Code:
<%
if (Application("SessionCount") < 1)
{
document.write("Currently" +(Application("SessionCount")) "Vistitor" )
}
else
{
document.write("Currently" +(Application("SessionCount")) "Vistitors" )
}
%>