SQlite bug?
Submitted by mmenke on Sun, 2006-10-15 11:08.
ezSQL
Hi all,
I'm experiencing a warning using ezSQL and SQlite that I can not get rid of.
As I couldn't find an error in my script (and it's my first time using SQlite) I cloned the DB to mySQL and changed the ezSQL include to match. Guess what: runs flawlessly.
Error: Warning: SQL logic error or missing database in ez_sql_sqlite.php on line 147
(no changes to ez_sql_sqlite.php made, running a wamp)
include_once('ez_sql_core.php');
include_once('ez_sql_sqlite.php');
$db = new ezSQL_sqlite('./','test.sqlite');
if($posts=$db->get_results($sql)) {
foreach($posts as $post) {
print_r($post);
}
} else {
echo 'empty';
}
I would appreciate any help to get this going on SQlite
