Do you have a question? Post it now! No Registration Necessary. Now with pictures!
September 19, 2005, 3:09 pm
rate this thread
Re: mySql updating numbers
UPDATE `my_table` SET hits = hits + 1 WHERE record_id = '$id'
Obviously you'll need to change the variable names to match your table, but
the point is you can use a column's current value in an update.