title: Change an associative array into an indexed array / get an Zend_Table_Row_Abstract as non-associative
body: <p>Hi out there in Stackland.  I was wondering if there was either a function or an easy way to change an associative array into an indexed array.</p>
  
  <p>To elaborate, I'm using the Zend framework, and I've got a point in my site where I take out a row of an SQL table as an associative array.  I've passed it to javascript via an echoed  in JSON.  However, I've noticed that I can see the names of my database's columns in Firebug.  Having outsiders know the names of your tables and columns is a big security no-no, so I'd like to change it from </p>
  
  <pre><code>SQLarray[user_id]
  SQLarray[block_id]
  SQLarray[b_price] etc.
  </code></pre>
  
  <p>to</p>
  
  <pre><code>SQLarray[0]
  SQLarray[1]
  SQLarray[2] etc.
  </code></pre>
  
  <p>Is there a good way to do this?</p>
  
  <p>It would also work to be able to have a Zend_Table_Abstract->fetchAll() return a non-associative array, but I don't think that's possible.  Thanks for your help!</p>