[eluser]CroNiX[/eluser]
I'd check what jmadsen said. It's better for this to just be in your table definition. Then you never have to tell it to update, it just will whenever the record updates.
Code:
fieldname timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
This will create the timestamp when a record is created and also update it whenever the record updates.