Forum Replies Created

Viewing 1 replies (of 1 total)
  • Same thing is happening with my client. Every time I try to update their PD plugin, the results are bare. It’s obvious a recordset is available because it is looping through the array, but not displaying any values. It’s for available apartment units. Any help would be greatly appreciated.

    <?php 
    if(isset($_GET['units'])){
      $records = json_decode(json_encode($this->records), True);
      $nr = array();
      foreach($records as $record){
    		$nr[] = array_column($record, 'value', 'name');
      }
      echo json_encode($nr);
      die;
    }
    
    ?>
Viewing 1 replies (of 1 total)