Jump to content

Add 1 to TimesLoggedIn field after use logs in


anton_1

Recommended Posts

  Quote
you don't even need to select that value, you can increment a value by using the column name. After they have successfully logged in,

UPDATE `loggedInTimes` = `loggedInTimes`+1 WHERE userID = x

I didn't know you could do that.  That's cool.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.