poraz pierwszy chciałabym użyć tablice asocjacyjna. Niestety mi cos nie wychodzi.
możecie mi pomoć i powiedzieć gdzie robie błąd?
$strzmce = $_GET['strzmce']; $dostawca = $_GET['dostawca']; $id = $_GET['id']; $detal = $_GET['detal']; $hurt = $_GET['hurt']; $zakup_wspolczynnik = $_GET['zakup_wspolczynnik']; $query = "SELECT * FROM ehi_produkty where id_dostawcy='$dostawca'"; exit; } $row11 = "$row[11]"; if ($row11 != '') { echo "</td> <td><center><input type=text name=detal size=5> ".$row[9]."</td>"; if ($zakup_wspolczynnik == 'netto') { echo "<td><center>".number_format($row[7], 2, ',', '')." ".$row[9]."</td>"; } } echo " <input type=hidden name=strzmce value=zapisz> <input type=hidden name=z value=k> <input type=hidden name=m value=l> <input type=hidden name=zakup_wspolczynnik value=$zakup_wspolczynnik> <input type=hidden name=strona value=zmianacen> <button type=submit>Dalej</button></form> "; if ($strzmce == 'zapisz') { for ($i=0;$i<$n; $i++)