Imprimir array de Curl

Asked

Viewed 183 times

1

I make a Curl in php in a url and it returns me:

array(2) { ["tip"]=> int(1) ["msg"]=> string(3) "826" }

I want to take only the number 826 and work with it in php.

Can someone help me?

1 answer

5


In that case, it will:

echo $array_retornado['msg']; // 826
  • It worked. Thanks buddy!!!

  • You’re welcome @Thiago

Browser other questions tagged

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