I make a curl in php in a url and it returns me:
array(2) { ["tip"]=> int(1) ["msg"]=> string(3) "826" }
I just want to get the number 826 and work with it in php.
Can anyone help me?
I make a curl in php in a url and it returns me:
array(2) { ["tip"]=> int(1) ["msg"]=> string(3) "826" }
I just want to get the number 826 and work with it in php.
Can anyone help me?
In this case, you will:
echo $array_retornado['msg']; // 826