I have a jquery calendar that sets the input value to MM/DD/YYYY
How would I convert it so that my database column (date) can accept it correctly?
EDIT
Alternatively you can do this without using the explode:
explode
$date = "12/25/2010"; $mysql_date = date('Y-m-d', strtotime($date));
You can now use $mysql_date to insert into your database.
$mysql_date