SQLite Forum

Cannot load a custom Virtual Table using PHP
Still the same errors with both ways.

And caling $db->lastErrorCode() and $db->lastErrorMsg() just says:

101 unknown error

Not sure if it is windows error just being forwarded or a true PHP one.

Calling this way 

$db->query("SELECT load_extension('cvtab.dll','sqlite3_cvtab_init');");

allows specifying the non default entry point name as 2nd parameter, not sure if that might be the problem with


Thanks for mentioning enable_dl, didn't know about it!!

And to the other responses also as I suspect it will definately help with the hurdles as I go!