1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | <?php include_once('include/common.inc.php'); include_header('Scores'); $db = $server->get_db('disclosr-agencies'); try { $rows = $db->get_view("score", "score", null, true)->rows; //print_r($rows); foreach ($rows as $row) { echo '<a href="getAgency.php?id='.$row->value->id.'">'.$row->value->name." ".$row->value->score."</a><br>"; } } catch (SetteeRestClientException $e) { setteErrorHandler($e); } include_footer(); ?> |