Use PHP to check if the table is named sqlite_sequence
, and if it isn't then output the table's name.
<?php
// Display all sqlite tables
$db = new SQLite3('data.db');
$tablesquery = $db->query("SELECT name FROM sqlite_master WHERE type='table';");
while ($table = $tablesquery->fetchArray(SQLITE3_ASSOC)) {
if ($table['name'] != "sqlite_sequence") {
echo $table['name'] . ' <br />';
}
}
?>