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

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -