1
0

tests_tester_postal_codes.php 260 B

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