waseem02 / jquery-asmselect

Automatically exported from code.google.com/p/jquery-asmselect
0 stars 0 forks source link

Duplicate values on HTTP POST #65

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
html:
<select name="members[]" id="members" multiple="multiple" size="10" 
title="Выберите номера">
    <option value="277" label="101 &quot;101&quot; " selected="selected">101 &quot;101&quot; </option>
    <option value="281" label="105 &quot;105&quot; " selected="selected">105 &quot;105&quot; </option>
    <option value="282" label="106 &quot;106&quot; " selected="selected">106 &quot;106&quot; </option>
    <option value="283" label="107 &quot;107&quot; " selected="selected">107 &quot;107&quot; </option>
    <option value="278" label="102 &quot;102&quot; ">102 &quot;102&quot; </option>
    <option value="279" label="103 &quot;103&quot; ">103 &quot;103&quot; </option>
    <option value="284" label="108 &quot;108&quot; ">108 &quot;108&quot; </option>
    <option value="285" label="109 &quot;109&quot; ">109 &quot;109&quot; </option>
    <option value="286" label="110 &quot;110&quot; ">110 &quot;110&quot; </option>
    <option value="280" label="202 &quot;202&quot; ">202 &quot;202&quot; </option>
</select>

php:
print_r($_POST):
(
    [title] => Second
    [members] => Array
        (
            [0] => 277
            [1] => 281
            [2] => 282
            [3] => 283
            [4] => 277
            [5] => 281
            [6] => 282
            [7] => 283
        )

    [save] => Save
)

------------------------------------
Server version: Apache/2.2.22 (Debian)
Server built:   Mar  4 2013 21:32:29

PHP 5.4.4-15.1 (cli) (built: Jun 21 2013 03:23:13)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies
    with the ionCube PHP Loader v4.4.1, Copyright (c) 2002-2013, by ionCube Ltd.

Original issue reported on code.google.com by bogdan...@gmail.com on 26 Jun 2013 at 2:10