public function getCol()
	{
		$ret   = array();
		$query = $this->prepareQuery(func_get_args());
		if ( $res = $this->rawQuery($query) )
		{
			while($row = $this->fetch($res))
			{
				$ret[] = reset($row);
			}
			$this->free($res);
		}
		return $ret;
	}
public function getCol()
	{
		$ret   = array();
		$query = $this->prepareQuery(func_get_args());
		if ( $res = $this->rawQuery($query) )
		{
			while($row = $this->fetch($res))
			{
				$ret[] = reset($row);
			}
			$this->free($res);
		}
		return $ret;
	}
public function getCol ( ) { $ ret = array ( ) ; $ query = $ this -> prepareQuery ( func_get_args ( ) ) ; if ( $ res = $ this -> rawQuery ( $ query ) ) { while ( $ row = $ this -> fetch ( $ res ) ) { $ ret [ ] = reset ( $ row ) ; } $ this -> free ( $ res ) ; } return $ ret ; }
Helper function to get single column right out of query and optional arguments

Examples:
$ids = $db->getCol("SELECT id FROM table WHERE cat=1");
$ids = $db->getCol("SELECT id FROM tags WHERE tagname = ?s", $tag);

@param string $query - an SQL query with placeholders
@param mixed  $arg,... unlimited number of arguments to match placeholders in the query
@return array enumerated array of first fields of all rows of resultset or empty array if none found
Helper function to get single column right out of query and optional arguments