So you think that $importance[0] is the value sent through post for the first select and the $importance[1] is the value sent through post for the second select?
Well let me tell you that you are wrong, the right syntax for what u expect to get on POST is like this ...
<select name="importance[]">
<option value="0">-</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
</select>
<select name="importance[]">
<option value="0">-</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
</select>
if u run this line of code on your server:
echo phpinfo();
u are able to see if your register_global is on or off:
When register global si On your select will come like this
$importance[0], $importance[1]
, if register global is Off then you have to know how did u send your forms value through POST or GET:
$_POST['importance'][0], $_POST['importance'][1] or $_GET['importance']
, if u want to know more about this try google.
I hope this help's u understand...
Have fun coding ... 😃