Skip to content

Object oriented fetchAll - #9

Open
klonfish wants to merge 1 commit into
ccl:masterfrom
klonfish:master
Open

Object oriented fetchAll#9
klonfish wants to merge 1 commit into
ccl:masterfrom
klonfish:master

Conversation

@klonfish

@klonfish klonfish commented May 2, 2013

Copy link
Copy Markdown

The version with sqlite_fetch_all($res, SQLITE_NUM) did not work in my setup:

PHP 5.3.10
DokuWiki Adora Belle
data plugin released at 2013-02-06

That means, that it always printed "Nothing." instead of the actual list. The call to sqlite_fetch_all returned NULL.

Replacing that one line by the object oriented style $res->fetchAll(SQLITE_NUM) made it work for me.

Hope it doesn't break other installations.

@Klap-in

Klap-in commented May 13, 2013

Copy link
Copy Markdown
Contributor

I added another PR #10 which uses the Sqlite plugin. This plugin contains switching between sqlite 2 and sqlite3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants