Código:
a esta forma: $d = array( 'worksheet 1' => array( 'ini_line' => 6, 'columns' => array('a', 'b', 'c ', 'd', 'e'), 'rows' => array(1=>array('a','b', 'c ', 'd', 'e')) ), 'worksheet 2' => array( 'ini_line' => 6, 'columns' => array('a', 'b', 'c ', 'd', 'e'), 'rows' => array(1=>array('a','b', 'c ', 'd', 'e')) ), 'worksheet 3' => array( 'ini_line' => 6, 'columns' => array('a', 'b', 'c ', 'd', 'e'), 'rows' => array(1=>array('a','b', 'c ', 'd', 'e')) ), 'worksheet 4' => array( 'ini_line' => 6, 'columns' => array('a', 'b', 'c ', 'd', 'e'), 'rows' => array(1=>array('a','b', 'c ', 'd', 'e')) ), );
Código:
pero no me sale, en que me estoy equivocando ?$d['worksheet'][0] = 'worksheet 1'; $d['worksheet'][0]['columns'][0]= 'a'; $d['worksheet'][0]['columns'][1]= 'b'; $d['worksheet'][0]['columns'][2]= 'c'; $d['worksheet'][0]['columns'][3]= 'd'; $d['worksheet'][0]['columns'][4]= 'e';
Como se hace esto ?
Atte.
Walter Willis Naveda