Updated SQL File to remove dummy data.
This commit is contained in:
5
get_settings.php
Normal file
5
get_settings.php
Normal file
@@ -0,0 +1,5 @@
|
||||
<?php
|
||||
require 'db.php';
|
||||
$stmt = $pdo->query("SELECT title, icon_class, icon_color FROM settings LIMIT 1");
|
||||
echo json_encode($stmt->fetch(PDO::FETCH_ASSOC));
|
||||
?>
|
||||
Reference in New Issue
Block a user