MySQL Forums
Forum List  »  PHP

Re: php foreach and mysql update for an array from a form
Posted by: Bob Field
Date: February 07, 2006 10:33PM

I think that's the defined behavior of a timestamp field. You probably want a datetime field that you set either in your query where you insert the row, or by means of a trigger. And that is also the source of your errors. You are running these updates one right after another, during the same second. The automatically updating timestamp is tripping over itself.

Options: ReplyQuote


Subject
Written By
Posted
Re: php foreach and mysql update for an array from a form
February 07, 2006 10:33PM
S
February 08, 2006 07:00PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.