prepare($sql); $sth->execute([$node_id]); $smarty->assign("node", $sth->fetch(PDO::FETCH_OBJ)); $smarty->display("natedit.tpl"); include("footer.php"); ?>