[SOLVED] MySQL timestamp INSERT successful only some of time
Posted: Sat Jan 29, 2005 1:16 pm
- TIMESTAMP column in the table created
- PHP's time() used to get unix timestamp
- I echo out the MySQL statement before doing the INSERT, which shows time() being inserted
Problem I run into is that time() only inserted successfull in db about 50% of the time. Other records still have the default 14 zeros. There are no errors displayed.
Not sure where to look...
- PHP's time() used to get unix timestamp
- I echo out the MySQL statement before doing the INSERT, which shows time() being inserted
Problem I run into is that time() only inserted successfull in db about 50% of the time. Other records still have the default 14 zeros. There are no errors displayed.
Not sure where to look...