whereabouts is this code you've got?
are you trying to update the whole table? in which case you'd want something like:
UPDATE tdcdata SET totalposts = totalposts+1;
and if this is not what you want done, what do you want done?
I am a loud man with a very large hat. This means I am in charge