I want to execute following PDO statement
\"INSERT INTO `vk_posts` (`date`, `text`) VALUES (\':date\', \':text\')\"
Where :date is datetime
The placeholder names should not be quoted. Remove the quotes around :date and :text, so it becomes:
:date
:text
"INSERT INTO `vk_posts` (`date`, `text`) VALUES (:date, :text)"