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