title: Adding columns to existing php arrays
body: <p>Using PHP let's assume that I have successfully read a record from a MySQL table using the fetch_object method and I am holding the row data in a variable call $output:</p>
  
  <pre><code>while($row = $result-&gt;fetch_object())
  {
     $output[] = $row;
  }
  </code></pre>
  
  <p>If I wanted to add two additional fields: "cls" and "parentID" to $output as if they were apart of $row, how would I accomplish this?  Thanks!</p>