How to extract data from this type of array? It is a query in Wordpress

Asked

Viewed 103 times

0

I need to extract the e-mail and the nome of this user but I don’t know how to proceed in this arrays. You can help me learn how to proceed to extract this data and record it into a variable?

inserir a descrição da imagem aqui

  • 2

    It’s not just giving variavel = foo[25].meta_value?

  • @Darkhyudra would have no way of using this [25]?

  • 3

    It is an array of objects, can use a foreach or can directly access a, $arr[25]->meta_value

  • It would be so cool if you did a search right here on Sopt before asking... http://answall.com/search?q=%22stdclass+Object%22

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.