誰かが私の「アイテム」をどのように見ることができますか?配列内の配列に関するPHP配列のヘルプ
私はprint..eveythingにしようとすると、これは私の配列
Array (
[idreserva] => 703
[sala] => 7 - INF
[data] => 2016-05-28
[inicio] => 21:00:00
[fim] => 23:30:00
[equip1] => Leitor/CD/ USB
[equip2] => Projetor
[atividade] =>
[usernome] => xxxxx
[items] => Array (
[0] => Leitor/CD/ USB; Projetor
)
)
ですが来るが、何の "アイテム"
$titles = array(
'sala' => '<b>Sala</b>',
'usernome' => '<b>Docente</b>',
'data' => '<b>Data</b>',
'inicio' => utf8_decode('<b>Início</b>'),
'fim' => '<b>Fim</b>',
'items' =>utf8_decode('<b>Equipamento</b>')
);
$parametros_adicionales = array(
'width'=>570,
'showHeadings'=>1,
'fontSize' => 9,
'colGap'=>2,
'xPos' => 'center',
'xOrientation'=>'center',
'cols'=>array(
"sala" => array('justification'=>'center', 'width' => '100'),
"usernome" => array('justification'=>'center', 'width' => '200'),
"data" => array('justification'=>'center', 'width' => '80'),
"inicio" => array('justification'=>'center', 'width' => '60'),
"fim" => array('justification'=>'center', 'width' => '60'),
"items" => array('justification'=>'center', 'width' => '150')));
は、私はそれをどのように行うことはできませんか?私はあなたの配列のすべてのチャイルズ印刷された次のコードで
を実際に何をachieve.Your説明しようとしているだけでは十分ではありません。 –
私はpdfに "items"を持っています...私はすべてのフィールドを持っていますが、これは持っていません。print_rには "items"があります。なぜ$ parametros_adicionales = array() "items"フィールド? – gmc1972
アイテム配列のセミコロンを削除しようとしました – jophab