0
I need to leave in the array below only the values Yes: 1 and 2 Any suggestions? I tried unset() but it didn’t work.
array (size=3)
0 =>
array (size=4)
0 => string 'Adair' (length=26)
1 => string '498' (length=3)
2 => string 'Nao' (length=3)
3 => string '' (length=0)
1 =>
array (size=4)
0 => string 'Pedro' (length=31)
1 => string '189' (length=3)
2 => string 'Sim' (length=3)
3 => string '' (length=0)
2 =>
array (size=4)
0 => string 'Celso' (length=11)
1 => string '651' (length=3)
2 => string 'Sim' (length=3)
3 => string 'E-mail: sdsd' (length=12)
I got it with this post. http://stackoverflow.com/questions/38965541/filter-multidimensional-array-by-value-in-arra Thank you all.
– Celso Spina