Hi,
In a mySQL database I have a field called date in a table set as type timestamp(14). A PHP page adds values to the db including a hidden date('Y-m-d H:i:s'); into the field in the db.
On another page I recall these values to display them and everything works fine except the date which is recalled like this: date("l, jS F, Y-h:i.sA",$row[1]) on each record is the same and is some weird value like January 19 1970.
Any ideas how I can fix this?
Thanks.
In a mySQL database I have a field called date in a table set as type timestamp(14). A PHP page adds values to the db including a hidden date('Y-m-d H:i:s'); into the field in the db.
On another page I recall these values to display them and everything works fine except the date which is recalled like this: date("l, jS F, Y-h:i.sA",$row[1]) on each record is the same and is some weird value like January 19 1970.
Any ideas how I can fix this?
Thanks.