1
I have the following array $detalhes
:
Array ( [0] => Array ( [dt_detalhes] => 2016-03-09 [desc_detalhes] => Viabilidade [tp_processo] => Viabilidade [vl_protocolo] => 1234 )
[1] => Array ( [dt_detalhes] => 2016-03-12 [desc_detalhes] => Sincronizado [tp_processo] => Sincronizado [vl_protocolo] => 12345 )
[2] => Array ( [dt_detalhes] => 2016-03-11 [desc_detalhes] => Integrador [tp_processo] => Integrador [vl_protocolo] => 123456 ) )
I’d like to move him into a modal, that way:
<button type="button" data-toggle="modal" data-target="#detalhes"
data-id="<?=$linha['id_processo']?>" data-detalhes="<?=$details?>">
How can I do that? In the way tried above the following error:
Array to String Conversion
OBS: I need to pass the entire array.
Your echo should be in a specific key and not in the entire array
– rray
@rray has no way to pass the entire array?
– Bia
Post the complete structure of your array, what you really want to print??
– Mastria