[SOLVED] auto date won't show up in database
Posted: Tue Nov 11, 2003 10:50 am
I have a PHP form which allows a job candidate to fill in information and upload a resume. The submission date is a field in the database which is supposed to automatically log the date of submission when the info is added. As such, there is no DATE field to fill in on the form. However, when the data is inserted, everything is entered...except for the DATE. It reads 0000-00-00 instead of the appropriate date.
Is there some extra setting needed on the DATE field in the database to make it work? Or am I supposed to put some kind of HIDDEN INPUT code for the submitDate field in the form itself?
Is there some extra setting needed on the DATE field in the database to make it work? Or am I supposed to put some kind of HIDDEN INPUT code for the submitDate field in the form itself?