Jump to content

update(+1)


dadamssg

Recommended Posts

if i have a int() field in my db...is there a mysql way to update it by adding one? i want to count how many times a user replies on a forum...i know i can query their username and pull out that number then add one to it, then replace the old one with the new one...but is there a mysql function that does this?

Link to comment
https://forums.phpfreaks.com/topic/152697-update1/
Share on other sites

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.