query("select * from news where no = '$no'"); $row = $stmt -> fetch(PDO::FETCH_ASSOC); $news=$row; Template::assign("news", $news); Template::display("news.tpl"); ?>