I\'m new to SQLite3 and PHP and was wondering whether and how I could connect to a SQLite3 database with PHP.
How would I get the data from the db and would it be po
This is the best way I have found and I got it directly from the sqlite website:
query('select * from db');
while ($row = $results->fetchArray()) {
var_dump($row);
}
?>
Also if you're looking to include the php results into html like a table cell or something, go as such:
$results = $db->query('select * from db');
?>
fetchArray()) {?>