Array Help

I feteched an array and here is the result :

array(55) { [0]=> array(1) { [0]=> object(stdClass)#59 (3) { [“pool_name”]=> string(20) “test1.com” [“order”]=> int(0) [“ratio”]=> int(1) } } [1]=> array(1) { [0]=> object(stdClass)#60 (3) { [“pool_name”]=> string(21) “tes2.com” [“order”]=> int(0) [“ratio”]=> int(1) } } [2]=> array(1) { [0]=> object(stdClass)#61 (3) { [“pool_name”]=> string(17) “test3.com” [“order”]=> int(0) [“ratio”]=> int(1) } } [3]=> array(1) { [0]=> object(stdClass)#62 (3) { [“pool_name”]=> string(26) “test4.com” [“order”]=> int(0) [“ratio”]=> int(1) } …

Now I want use the value of pool_name aka test1.com or test2.com … to get another value. Hence the question, How do we do it…My command is:

$test9=$client->get_member($memberlist[‘pool_name’]) <— But this is giving array(0) { } …

Hence how do I pass the test1.com as parm to the $memberlist…

Sponsor our Newsletter | Privacy Policy | Terms of Service