ASP.NET PHP komut dosyası dönüştürmek

0 Cevap php

Herkes ASP.NET (VB.NET) aşağıdaki PHP yazmak nasıl biliyor mu?

foreach ($_GET['listItem'] as $position => $item) : 
  $sql[] = "UPDATE `table` SET `position` = $position WHERE `id` = $item"; 
endforeach; 

$ _GET ['Listitem'] in verileri bu gibi görünüyor:

madde [] = 1 & item [] = 2 & item [] = 3

0 Cevap