var_dump($resultData);
gives me this
array(3) {
[0]=>
object(stdClass)#1 (2) {
["name"]=>
string(12) "filterName_1"
["value"]=>
string(8) "language"
}
[1]=>
object(stdClass)#2 (2) {
["name"]=>
string(9) "country_1"
["value"]=>
string(0) ""
}
[2]=>
object(stdClass)#3 (2) {
["name"]=>
string(10) "language_1"
["value"]=>
string(4) "UAE1"
}
}
How to itrate and get the values ?
tried
echo $resultData["name"];
and some other combinations but cannot make it work.
EDIT : NOTE :
As i have to get the loop of 3 items and its values i need to get the value in the loop as
for ($i=0; $i+3 <= count($resultData); $i=$i+3)
{
}
is there a way without foreach looping?