I need to set a date field in a MySQL table to timestamp. For some reason the date keeps showing up as 0000-00-00. I am uploading data to a MySQL database from a web application and I want the date to be put in automatically when the user submits the info. I have narrowed it down to if the field is set to not null then I get no records returned. If I set the field to nullable then I get the records, but the date does not go in automatically. Can someone help?
Thanks