確èªç°å¢ MySQLã5.5.27 PHPã5.4.7 ç¾è±¡ PDO::setAttribute( ATTR_EMULATE_PREPARES, false ) ããããprepareãã¦ãéçãã¬ã¼ã¹ãã«ãã¯ä½¿ç¨ãããªãã ç¢ºèª <?php $dsn = 'mysql:dbname=test;host=localhost'; $user = 'root'; $password = ''; try{ $pdo = new PDO($dsn, $user, $password); $pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); $pdo->setAttribute(PDO::ATTR_EMULATE_PREPARES, false); $sql = 'select blog_id, blog_name from b
{{#tags}}- {{label}}
{{/tags}}