in reply to DB update query from Linux using a Hash array
... SET $mtime= ...
Does $mtime hold the name of the column you wish to update or is the column actually named "mtime"?