Loading...
Обучение/Помощь новичкам | как прописать в базу
darkmob (15.05.2022 в 23:25)
ZnTor, 901, 1, 0, 0, 0, '', 'no', 0, 0, 'colco', 'Кольцо', 1, 0, 0, 0, 0, 0, 0, 0, 0),

INSERT INTO `weapons` (`id`, `id_user`, `str`, `def`, `hp`, `image`, `status`, `lvl`, `max_lvl`, `type`, `name`, `rating`, `sharpening_lvl`, `sharpening_max`, `emerald`, `sapphire`, `rubin`, `jeweler_str`, `jeweler_hp`, `jeweler_def`) VALUES
и то что выше твое для каждого ид юзера которому хочешь дать кольцо, амулет
sql
NSERT INTO `weapons` (`id_user`, `str`, `def`, `hp`, `image`, `status`, `lvl`, `max_lvl`, `type`, `name`, `rating`, `sharpening_lvl`, `sharpening_max`, `emerald`, `sapphire`, `rubin`, `jeweler_str`, `jeweler_hp`, `jeweler_def`) VALUES 
(ид юзера, 0, 0, 0, '', 'no', 0, 0, 'colco', 'Кольцо', 1, 0, 0, 0, 0, 0, 0, 0, 0)

id можешь не писать он автоматов пйдет дальше.
________
посл. ред. 15.05.2022 в 23:37; всего 1 раз(а); by Elenrill
спасибо помогли
Онлайн: 5
Время:
Gen. 0.0871
(c) Bym.Guru 2010-2025