2010-12-13 12 views
5

Próbowałem html tak:

<form method="post"> 
    <select id="select" size="2 "> 
     <option value="3">test</option> 
     <option value="4">test2</option>      
    </select> 
    <button type="submit" value="execute"> 
</form> 

Jak mogę dostać 3 lub 4 wartości w tablicy postu

$_POST['select'] 

?

Odpowiedz

23

Dodaj tag ...

<select id="select" name="select" size="2 "> 
Powiązane problemy