How to connect to a SQLite3 db with PHP -
i'm new sqlite3 , php , wondering whether , how connect sqlite3 database php.
how data db , possible output them on browser screen? i've been searching web while now, couldn't find anything.
thank you.
<?php $db = new sqlite3('mysqlitedb.db'); $results = $db->query('select bar foo'); while ($row = $results->fetcharray()) { var_dump($row); } ?>
taken here: php: sqlite3::query - manual
Comments
Post a Comment