How are you storing data to the record? It should be: CREATE TABLE mytable ( mydata int NOT NULL, timestamp timestamp );
INSERT INTO mytable VALUES(123,NULL); UPDATE mytable SET mydata=456; -----Original Message----- From: Steve Osborne [mailto:[EMAIL PROTECTED]] Sent: Friday, December 14, 2001 1:56 PM To: MySQL (E-mail) Subject: Fw: timestamp Rick, <snip> Just add a field of type TIMESTAMP to your record. Whenever the field is added or updated, this field will be updated as well. </snip> The field is already a 'timestamp(14)' type field, but all that is being stored in the fields are zero's. Do you know what could be causing this? Steve mysql (filter filter) --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php