CI_DB_mysql_driver::error PHP 메소드

error() 공개 메소드

Returns an array containing code and message of the last database error that has occured.
public error ( ) : array
리턴 array
    public function error()
    {
        return array('code' => mysql_errno($this->conn_id), 'message' => mysql_error($this->conn_id));
    }