iam executing a stored procedure in php and iam returning an array ["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 = ????