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;
    }