samples/PhotoAlbum/lib/rb.php
public function GetCell($sql, $aValues=array()) {
		$arr = $this->GetAll($sql,$aValues);
		$row1 = array_shift($arr);
		$col1 = array_shift($row1);
		return $col1;
	}
public function GetCell($sql, $aValues=array()) {
		$arr = $this->GetAll($sql,$aValues);
		$row1 = array_shift($arr);
		$col1 = array_shift($row1);
		return $col1;
	}
public function GetCell ( $ sql , $ aValues = array ( ) ) { $ arr = $ this -> GetAll ( $ sql , $ aValues ) ; $ row1 = array_shift ( $ arr ) ; $ col1 = array_shift ( $ row1 ) ; return $ col1 ; }
Runs a query an returns results as a single cell.

@param string $sql SQL to execute

@return mixed $cellvalue result cell
Runs a query an returns results as a single cell .