insert($row); } catch (Exception $e) { # setting already exists if ($e->getCode() === 23000) { continue; } } } } }