Blue
White
Purple
Green
Red
Orange
Blue Light
White Light
Purple Light
Green Light
Red Light
Orange Light
Table Name = adminsID Integer Main KeyName varchar 30Password varchar 30LoginCounter integerOn every successful login I want to update the LoginCounter by 1Exact code would be appreciated.
Hi,here is just a sample:
global $conn;$strUpdate = "update admins set LoginCounter=LoginCounter+1 where Name='".$_SESSION["UserID"]."'";db_exec($strUpdate,$conn);