SQLite3::lastErrorMsg

(PHP 5 >= 5.3.0)

SQLite3::lastErrorMsg Returns English text describing the most recent failed SQLite request

Описание

public string SQLite3::lastErrorMsg ( void )

Returns English text describing the most recent failed SQLite request.

Список параметров

У этой функции нет параметров.

Возвращаемые значения

Returns an English string describing the most recent failed SQLite request.

Коментарии

$db= new SQLite3('db1.db');
            $results= $db->query('SELECT * FROM table1');
            if($results==FALSE)
            {
                echo "Error in fetch ".$db->lastErrorMsg();
            }
            else
            {
                while ($row= $results->fetchArray()) 
                {
2017-10-16 09:37:53
http://php5.kiev.ua/manual/ru/sqlite3.lasterrormsg.html

    Поддержать сайт на родительском проекте КГБ