Welcome to WebmasterWorld Guest from 18.104.22.168
I just want to increment a simple INT field with 1
mysql_query("update brands set views=(views+1) where id=".$mycat."") or die(mysql_error());
with same steps it sometimes increment 1 as it should and other time it increments 2 or 3 or 4.
so is there better way to do the increment..?
any help is appreciated.
Thanks in advance
for ex: the number is DB is now 1 then after the update query it becomes 3 or 4