title: Referencing a MYSQL Result Set without looping
body: <p>I have a small result set from a MySQL query, comprising 4 records.</p>
  
  <p>I have converted it into an associative array where in each row has 3 columns:</p>
  
  <pre><code>id, field_1, field_2 
  </code></pre>
  
  <p>The ids are 1, 2, 3, and 4, and I want to reference field_1 with <code>id = 2</code>.  </p>
  
  <p>How would I reference that?</p>
  
  <p>Like this?</p>
  
  <p><code>$row[2]['field_1']</code></p>
  
  <p>I know I should be able to work this out but I just cant get my head around it for some reason :-)  Maybe I am having a stroke or an embolism :-)</p>
  
  <p>I don't need to loop through it cause I know where everything is :-)</p>