When I try and store a date in my DATE field as yyyy-mm-dd, it just gets added as 0000-00-00 when I view it with PHPMyAdmin. I'm not sure what i'm doing wrong
Code:INSERT INTO projects (project_name,project_description,project_start_date,project_end_date,project_date) VALUES ('Sample Project','This is the sample project description','04-06-2011','04-10-2011',now());



Reply With Quote
Bookmarks