I have a standard form on a webpage that has a field for the date. I'm using php/mysql.
I want my users to be able to key in the date in the format of MM/DD/YYYY. If they do it now, it gets submitted into the database as YYYY-MM-DD, but the numbers don't get transposed properly so if they had keyed 08/11/2004 it goes in as 2008-11-20. This is a problem.
So, my question is, how do I get it to submit into the database properly???
I want my users to be able to key in the date in the format of MM/DD/YYYY. If they do it now, it gets submitted into the database as YYYY-MM-DD, but the numbers don't get transposed properly so if they had keyed 08/11/2004 it goes in as 2008-11-20. This is a problem.
So, my question is, how do I get it to submit into the database properly???