3
Text boxes corresponding to the number that the user entered are generated, each text box is accompanied by several checkboxes to choose the type of text.
But it comes out like this :
Array ( [0] => 0 ) object(ElementosDTO)#7 (2) {
["texto":"ElementosDTO":private]=> array(2) {
[1]=> string(5) "fdsfs"
[2]=> string(4) "sfsd"
}
["idTipoElemento":"ElementosDTO":private]=> array(2) {
[1]=> string(1) "3"
[2]=> string(1) "3"
}
}
how do I join indexes? For example, each text with its element id type ?
How are you generating this output?
– Marcelo de Andrade
I used the var_dump()
– jessica soares
No, your code is.
– Marcelo de Andrade