Commit 82784d88 authored by Nico Schallehn's avatar Nico Schallehn

test

parent 9df4f726
<?php include 'api.class.php';
if ($db = new SQLite3(API_KEY_DB, SQLITE3_OPEN_CREATE | SQLITE_OPEN_READWRITE)) {
if ($db = new SQLite3(API_KEY_DB)) {
$db->exec('CREATE TABLE Keys (Schuessel varchar(10), Server varchar(20), Username varchar(20), Passwort varchar(20))');
$db->exec("INSERT INTO Keys VALUES ('0123456789', 'localhost', 'MediaDB', 'MediaDB')");
$result = $db->query('select * from Keys');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment