I want to insert to mysql a date filed with pdo.
The format of the date variable is 09-13-2011 17:11:09 as I see with die($date)
Also I use this code
$sth = $dbh->prepare($sql);
$sth->bindValue(":ac_date", $date);
..........
But nothing is inserting at my db.
What is wrong?
Thank you.