Blue
White
Purple
Green
Red
Orange
Blue Light
White Light
Purple Light
Green Light
Red Light
Orange Light
Can someone give me an example of code to insert into aftersuccessfulLogin event that will bump a counter in thea given table to keep track of number of logins by person
Hi,here is a sample:
$rstmp = CustomQuery("select count(*) from TableName where UserName='".$_SESSION["UserID"]."'");$datatmp = db_fetch_numarray($rstmp);$count = $datatmp[0];
Then use $datatmp[0] in your code.