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