--- a/getAgency.php +++ b/getAgency.php @@ -1,7 +1,7 @@ <?php include_once('include/common.inc.php'); -include_header(); + function displayValue($key, $value, $mode) { global $db, $schemas; @@ -108,6 +108,7 @@ // edit? $obj = $db->get($_REQUEST['id']); + include_header($obj->name); //print_r($row); if (sizeof($_POST) > 0) { //print_r($_POST); @@ -185,7 +186,8 @@ echo '<input id="submitbutton" type="submit"/></form>'; } } else { - +// show all list + include_header('Agencies'); try { /* $rows = $db->get_view("app", "showNamesABNs")->rows; //print_r($rows);