- <?php
- $user = Core::$user;
- $tests = $user->getPendingTests();
- $locations = Location::load(array_column($tests, "location_id"));
- header("Content-Type: text/plain; charset=utf-8");
- foreach($locations as $location) {
- echo $location->postal_code . "\n";
- }
- ?>
|