title: Changing values in a multi dimensional array
body: <p>I'm trying to loop through this array to change the column value:</p>
  
  <pre><code>array
    0 =&gt; null
    1 =&gt; 
      array
         'condition' =&gt; 
           array
            'column' =&gt; string 'data' (length=12)
            'operator' =&gt; string '=' (length=1)
            'argvalue' =&gt; string '442' (length=3)
     2 =&gt; 
      array
        'condition' =&gt; 
          array
            'column' =&gt; string 'start' (length=5)
            'operator' =&gt; string '&gt;=' (length=2)
            'argvalue' =&gt; string '2013-11-21 00:00:00' (length=19)
     3 =&gt; 
      array
        'condition' =&gt; 
          array
            'column' =&gt; string 'start' (length=5)
            'operator' =&gt; string '&lt;=' (length=2)
            'argvalue' =&gt; string '2013-11-21 23:59:59' (length=19)
     4 =&gt; null
  </code></pre>
  
  <p>Here's my code, whilst I can access $secondLevelIndex['column'] I don't seem to be able to change the value.</p>
  
  <pre><code>foreach ($created as $firstLevelIndex =&gt; $firstLevelArray) {
    foreach ($firstLevelArray as $secondLevelIndex) {
      //echo $secondLevelIndex['column'];
      $created[$firstLevelIndex][$secondLevelIndex]['column'] = 100;
    }
  }
  </code></pre>
  
  <p>Any ideas would be appreciated.</p>