JQuery ile aynı ada sahip birden Gönder alanlarını

0 Cevap php

nasıl böyle jQuery ile aynı ada sahip birden alanları göndermek için:

<input type="text" name="text[]" />
<input type="text" name="text[]" />
<input type="text" name="text[]" />

jQuery:

   function upload() {
    $.post('example.php', { text[]: Form.text[].value },
      function(output) {
      $('#result').html(output).show();
      });
    }

upload.php:

text[$i] = $_POST['text'][$i];

, teşekkür ederim

EDIT: correct my question.

0 Cevap