0
So, I’m entering data into SQL and need to pull the address the client left as the main one. How do I pull the values of the index where the [main] is equal to 1?
It must be something simple but I couldn’t figure it out.
[teste] => Array
(
[0] => stdClass Object
(
[pais] => Brasil
[principal] => 1
)
[1] => stdClass Object
(
[pais] => Brasil
[principal] => 0
)
)
Thanks for the info!
– user221149