PHP PDO with Special Characters
问题 I am using PDO for MySQL database connection, selecting, updating and deleting. But I have a problem with selecting rows with special characters , for instance, I want to select a page title with 'Judge-Fürstová Mila', Table page , id title content 1 Judge-Fürstová Mila xxx SQL, SELECT * FROM page WHERE title = 'Judge-Fürstová Mila' Returns result if I query via phpmyadmin. But it return 0 with PDO, $sql = ' SELECT * FROM page WHERE title = ?'; $items = $connection->fetch_assoc($sql,'Judge