PDO
This commit is contained in:
@@ -9,9 +9,9 @@
|
||||
******************************** */
|
||||
|
||||
|
||||
$dbFilename = "db/locations.db";
|
||||
$db = new SQLite3($dbFilename);
|
||||
require("config.db.php");
|
||||
|
||||
$db->query("TRUNCATE config");
|
||||
|
||||
$boolActive = (isset($_POST['active'])) ? "1" : "0";
|
||||
$boolRating = (isset($_POST['rating'])) ? "1" : "0";
|
||||
|
||||
Reference in New Issue
Block a user