Nasıl dizi değerini almak ve zend çerçeve çalışma görüntülemek için atarım

0 Cevap php

iam php bir saklı yordamı yürütmek ve IAM bir dizi dönen

       ["record"]=>
   array(1175) {
   [0]=>
array(20) {
  ["Col1"]=>
  string(1) "Mode"
  ["col2"]=>
  string(16) "type"
   }
   }

how do i get the col1 and col2 values from the array and assign it to the view .what should i say

$view-.results = $result_val['record'];
$view->col1 = ????
$view->col2 = ????

0 Cevap