Welcome to WebmasterWorld Guest from 184.108.40.206
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