Posted by dude on 12/18/23 11:50
i'll try to be short ... i have this in html :
<select name="OS[]" size="5">
<option value="0" selected>Please select one or more...</option>
<option value="1">Windows</option>
<option value="2">Mac OS X</option>
<option value="3">Linux</option>
</select>
and i want to echo the values from this simple list (OS), i mean array
from $_GET array ...
i did this:
foreach($_GET as $i => $val)
echo $i . ": " . $val . "<br>";
but, it only echoes out OS: Array ...
and this: echo $_GET['OS'][1]."<br>\n"; but it is wrong ...
how to extract values from OS array inside te GET ? please help ...
[Back to original message]
|