How do i get the value from array and assign to view in zend frame work

aobokzoy

New Member
iam executing a stored procedure in php and iam returning an array\[code\] ["record"]=> array(1175) { [0]=>array(20) { ["Col1"]=> string(1) "Mode" ["col2"]=> string(16) "type" } }\[/code\]how do i get the col1 and col2 values from the array and assign it to the view .what should i say \[code\]$view-.results = $result_val['record'];$view->col1 = ????$view->col2 = ????\[/code\]
 
Back
Top