PHP连接数据库查询数据一直失败

代码是这样的


<?php 
                        $pdo = new PDO('mysql:host=localhost;dbname=boke', 'root' , 'root' ,             array(PDO::MYSQL_ATTR_INIT_COMMAND => "SET NAMES 'utf8';"));
                        print_r($_GET);
                        $stmt = $pdo->prepare('select * from article where 'title' ='.$_GET.'"');
                            $stmt->execute();
                            $article = $stmt->fetchAll();
                            print_r($article);
?>

之后在网页中查看出了错误,这一段就不大懂了

img

select * from article where 'title' ='.$_GET.' //这里title没$符号而且没有点连接


$stmt = $pdo->prepare("select * from article where title='".$_GET["name"]."'");