Autor | Zpráva | ||
---|---|---|---|
Sennin Profil |
#1 · Zasláno: 11. 12. 2015, 21:23:41
Zdravím ľudia....
Snažím sa hromadne Inserovať do DB Mysql v xampp-e INSERT INTO `dates` (`id`, `date`, `li_status`, `span_status`, `months_id`) VALUES (1, '', '', '', 1), (2, '01.01.2016', 'free', 'Voľné', 2), (3, '02.01.2016', 'free', 'Voľné', 2), (4, '03.01.2016', 'free', 'Voľné', 2), (5, '04.01.2016', 'free', 'Voľné', 2); .... atď..... Unexpected beginning of statement. (near "6" at position 1) Unexpected beginning of statement. (near "'05.01.2016'" at position 4) Unexpected beginning of statement. (near "'free'" at position 18) Unexpected beginning of statement. (near "'Voľné'" at position 26) Unexpected beginning of statement. (near "2" at position 35) Unexpected beginning of statement. (near "7" at position 41) Unexpected beginning of statement. (near "'06.01.2016'" at position 44) Unexpected beginning of statement. (near "'free'" at position 58) Unexpected beginning of statement. (near "'Voľné'" at position 66) Mám pripravených 368 položiek a neviem ako to hromadne dostať do DB Za pomoc vopred ďakujem. |
||
juriad Profil |
Sennin:
Problém je na 7. řádku. Nemáš omylem na 6. řádku středník? Nebo jsi jej tam napsal až tady při krácení? |
||
Sennin Profil |
#3 · Zasláno: 11. 12. 2015, 21:44:48
juriad:
„Problém je na 7. řádku. Nemáš omylem na 6. řádku středník? Nebo jsi jej tam napsal až tady při krácení?“ Díky tohto som si nevšimol vôbec namiesto čiarky bol každý zhruba 9 riadok ukončený bodkočiarkou :D ďakujem. |
||
Časová prodleva: 9 let
|
0