Hallo, wer kann mir sagen, was der Fehler ist:
Warning: sqlite_open() [function.sqlite-open]: file is encrypted or is not a database in test2.php on line 4
failed to open/create the database
Das ganze ist eine Sqlite3 DB Datei, ich benutze xampp auf Windows Basis und habe die Sqlite3.dll installiert.
Was mache ich falsch? Was muss ich anders machen?
Warning: sqlite_open() [function.sqlite-open]: file is encrypted or is not a database in test2.php on line 4
failed to open/create the database
PHP-Code:
<?php
$db = sqlite_open("test.db3") or die("failed to open/create the database");
$dt = sqlite_query($db, "SELECT * FROM InstalledModules");
while ($row = sqlite_fetch_array($dt)) {
echo "row: $row[Name] $row[Major] $row[Minor] $row[Build]<br/>";
}
?>
Was mache ich falsch? Was muss ich anders machen?
Kommentar