How to pass data to the view
- Single Page
Posted 13 April 2012 - 00:35 AM
Posted 13 April 2012 - 06:10 AM
$view_arr = array(
'grocery_output' => $output,
'my_var' => $my_var
);
Posted 13 April 2012 - 06:29 AM
$output = (array)$output;
$output['value'] = "Your value here";