title: PHP: Adding a key-value pair to an array
body: <p>I have an array that looks like this:</p>
  
  <pre><code>$array = Array ( [0] =&gt; Array ( [site_id] =&gt; 89193)
              [1] =&gt; Array ( [site_id] =&gt; 89093)
              [2] =&gt; Array ( [site_id] =&gt; 3059 )
           )
  </code></pre>
  
  <p>What I want to do is to add a new pair to the array, how can I do so?</p>
  
  <p>For example, next to <code>site_id</code>, I want to add the key <code>[site_name]</code> and its value.</p>