Input format for SQL dates
Posted: Thu Jul 15, 2004 8:52 am
Dear All,
I have a PHP POST variable containing a date in DD/MM/YYYY format string. How do I record this to a DATE field in a MySQL table? Do I have to break up the string using explode() and somehow write the day month and year numbers separately?
Many thanks
Mark
I have a PHP POST variable containing a date in DD/MM/YYYY format string. How do I record this to a DATE field in a MySQL table? Do I have to break up the string using explode() and somehow write the day month and year numbers separately?
Many thanks
Mark