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
But nothing is inserting at my db.Code:$sth = $dbh->prepare($sql); $sth->bindValue(":ac_date", $date); ..........
What is wrong?