Update Query to add a count of +1
Hi All.
I have a field called "logincount". I cant figure out the query for mySQL to run to simply update the current number in that field to add "1" to it.
So for example, if the last login was 34, I need it to change to 35 when logged in.
Here is my current query:
sql= "update customerlogin Set logincount = logincount +1" & logincount &"' WHERE email='" & email &"' "
I GET SYNTAX ERRORS.
|