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

WPF: binding viewmodel property of type DateTime to Calendar inside ItemsControl -

java - Getting corefrences with Standard corenlp package -

jQuery clickable div with working mailto link inside -