Exemplo n.º 1
0
 /**
  * fetchCol
  *
  * @param & $result
  * @param int $col
  * @access public
  * @return void
  */
 public function fetchCol(&$result, $col = 0)
 {
     $tab = array();
     while ($tmp = $result->fetchRow()) {
         $tab[] = $tmp[$col];
     }
     return $tab;
 }