src/Neuron/Auth/MySQLConnection.php
function getRow($sql, $params = array())
    {
        //echo 'get row --- ';

        $data = $this->query ($sql, $params);

        $row = false;
        if (count ($data) > 0)
        {
            $row = $data[0];
        }

        //var_dump ($row);
        //echo '<br><br>';

        return $row;
    }
function getRow($sql, $params = array())
    {
        //echo 'get row --- ';

        $data = $this->query ($sql, $params);

        $row = false;
        if (count ($data) > 0)
        {
            $row = $data[0];
        }

        //var_dump ($row);
        //echo '<br><br>';

        return $row;
    }
Run an SQL query and return the first row of the result set, if
any.

@param string $sql An SQL string with placeholders.  The
placeholders are assumed to be specific to the database engine
for this connection.

@param array $params An array of parameters to insert into the
SQL string using this connection's escaping mechanism.

@return array $result The first row of the result set, if any,
keyed on column name.  False if no such result was found.