query("SELECT * FROM Settings"); // array $settingKeyOfLists = array(); $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'] ); } ?>