| Current Path : /home/histoio/www/ |
| Current File : /home/histoio/www/data.php |
<?php $db = new SQLite3('./config/bases/spip.sqlite');$results = $db->query('SELECT * FROM spip_auteurs');$data = array();while ($row = $results->fetchArray(SQLITE3_ASSOC)) {$data[] = $row;}echo json_encode($data);$db->close();