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