I need some PHP code that will READ a value in a MySQL database and UPDATE value by 1
I have a very simple web users database which a MySQL database called "users". In the users database there is a table called "members" which stores usernames and passwords. I added a new Field called "logins" so we could track the total number of logins by each user.
I need some PHP code that will increment the "logins" field each time a web user logins in. Currently i have a checklogin.php file that registers the users session upon successful login.