jeff5656 Posted July 22, 2009 Share Posted July 22, 2009 If i have a DATE field but the user leaves it blank when they are adding a record, how can I have it store as blank. The way it is now is it either gets stored as 0000-00-00 or as 1969-12-31. If it is POSTed as blank but the user, I want that field to be blank. Thanks! Link to comment https://forums.phpfreaks.com/topic/167000-date-fields-that-are-blank/ Share on other sites More sharing options...
ignace Posted July 22, 2009 Share Posted July 22, 2009 As far as I know 0000-00-00 is as blank as a DATE will ever get. Link to comment https://forums.phpfreaks.com/topic/167000-date-fields-that-are-blank/#findComment-880592 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.