public function value($select, $values = array())
    {
        return ($row = $this->row($select, $values, 'row')) ? array_shift($row) : false;
    }
public function value($select, $values = array())
    {
        return ($row = $this->row($select, $values, 'row')) ? array_shift($row) : false;
    }
public function value ( $ select , $ values = array ( ) ) { return ( $ row = $ this -> row ( $ select , $ values , 'row' ) ) ? array_shift ( $ row ) : false ; }
Get only the first value of the first row from your query.

@param string|array $select A SELECT statement.
@param mixed        $values The query parameters.

@return bool|string Either ``false`` if there was no row, or the ``$value`` you are looking for.

```php
echo $db->value('SELECT COUNT(*) FROM employees'); // 7
```
Get only the first value of the first row from your query .