This have been a problem to me for long now and I want to settle it once and for all.
PHP and MySQL DateTime and date fields have been headache to me.
Suppose I have fields
------Name--------------BirthDate--------LastTimeYouAte--
------VARCHAR(255)------DATE-------------DATETIME--------
Now, When I do insert, How do I format PHP Date and DateTime to insert into db when:
1. I want to use current date
2. I want to enter the date/datetime manually (Like JQuery Calender)
Thanks