query("SELECT * FROM Settings"); // array $settingKeyOfLists = array(); $settingCoreGroups = array('General', 'NewDeviceDefaults', 'Email', 'Webhooks', 'Apprise', 'NTFY', 'PUSHSAFER', 'MQTT', 'DynDNS', 'PiHole', 'Pholus', 'Nmap', 'API'); $settings = array(); while ($row = $result -> fetchArray (SQLITE3_ASSOC)) { // Push row data $settings[] = array( 'Code_Name' => $row['Code_Name'], 'Display_Name' => $row['Display_Name'], 'Description' => $row['Description'], 'Type' => $row['Type'], 'Options' => $row['Options'], 'RegEx' => $row['RegEx'], 'Value' => $row['Value'], 'Group' => $row['Group'], 'Events' => $row['Events'] ); } ?>