
mam plik txt i na jego podstawie chcę zrobić update do bazy i tak otwieram
$i=0; $a=1; while($i < $liczba_pol){ $pole = "pole".$a++; $dat= $result[$i++]; $datt = $result[$i++]; $dattt = $result[$i++];
Wszystko elegancko wyświetla plik
potem chce zrobić update
} }
i mam taki błąd
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE id='?1'' at line 1