Ionic 3 + PHP


Greetings !

I have the next issue: I’m trying get some information from a table in SQL Server and display them in a ion-select. I have the next code:


for(var i = 0;i < data.length; i++){
    this.list = [
       {"Room": data[i][2],"ID":data[i][1]}


<ion-select [(ngModel)]="select">
   <ion-option value="">Select a option</ion-option>
   <ion-option *ngFor="let list of lists" value="{{ID}}">{{Room}}</ion-option>

But the ion-select don’t display them.