如何读取parser中多维数组值
$csrf = array('name' => $this->security->get_csrf_token_name(),
'hash' => $this->security->get_csrf_hash(),
'age' =>3
);
$this->load->library('parser');
$this->parser->parse('welcome_message', array('data'=>$csrf));
这个时候取值改怎么取{data['age']},获取不到!求助
$this->parser->parse('welcome_message', $csr));这样写可以很简单获取,我想知道多维时候怎么获取
页:
[1]