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