php - binding data from sub query? -
so (image 1) "network" preview of data. have data in mysql
database , importing php. because of reasons had make 2 sub queries. data on image. main query "data" 2 of sub "devices" , "units". can't call "devices" , "units" ng-repeat unknown reason. tried ng-repeat="x in data.devices"
, other ways things don't show in on page. note! data main query "data" things ip, credential , user_id shown. result image 2 should image 3.
thanks !
since data
array, try ng-repeat="x in data[0].devices"
Comments
Post a Comment