Hmm, maybe I'm not fully understanding your question. This is how I currently understand it:
1. You want a column that will update with the current date when any field in that row has been updated?
Here's a quick example that works for me via a query or change in phpMyAdmin:
Code:
CREATE TABLE IF NOT EXISTS `emails` (
`id` int(11) NOT NULL auto_increment,
`name` varchar(100) default NULL,
`email` varchar(100) default NULL,
`updated_at` timestamp NOT NULL default '0000-00-00 00:00:00' on update CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
Bookmarks