code: public function fetchEach($strKey)
  	{
  		$this->reset();
  		$arrReturn = array();
  
  		while (($arrRow = $this->fetchAssoc()) !== false)
  		{
  			if ($strKey != 'id' && isset($arrRow['id']))
  			{
  				$arrReturn[$arrRow['id']] = $arrRow[$strKey];
  			}
  			else
  			{
  				$arrReturn[] = $arrRow[$strKey];
  			}
  		}
  
  		return $arrReturn;
  	}
docs: Fetch a particular field of each row of the result
  
  @param string $strKey The field name
  
  @return array An array of field values