$title = html_entity_decode($title->plaintext,ENT_NOQUOTES); //вот такие кавычки в тексте “ ”
$stmt = $db->prepare("INSERT INTO table VALUES (null, :title, :link, :dates, 0)");
$stmt->bindParam(':title', $title, PDO::PARAM_STR);
$stmt->bindParam(':link', $link, PDO::PARAM_STR);
$stmt->bindParam(':dates', $dates, PDO::PARAM_STR);
$stmt->execute();