Increment +1 at a field via Query

admin

Administrator
Staff member
Hello,


there is a query to increment automaticaly a field in +1?

I already have a auto_increment for each record, but each record has a field caled "hits", and this will every increments +1 at each select in this $ID.

I know that this isn磘 the better method to make it, but its possible?

I means any like:

select increment(field) from table where id='1'

regards
 
Back
Top