![]() |
Adding a 1 to a number in MySQL ?
i want to add '1' each time a user hits a button. now the table already uses an auto_inrement so i cant use another one for it.
how than do i add '1' to a number in a SQL field? |
UPDATE table SET field = field+1 ;
|
All times are GMT. The time now is 01:48 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|