Hi,
I try to get the values selected from a multiple select but I get only the last value. Here is an example:
==========file1.php==============
<?php
echo '<form method="post" action="file2.php">
<select name=number multiple size=5>';
for ($i=0;$i<10;$i++) {
echo "<option value=".$i.">".$i."</option>";
}
echo '</select>
<input type="submit" name="submit" value="Please">
</form>';
?>
==========file2.php================
<?php
echo $number;
?>
Now, if the user select let's say 2 and 3 the file2.php will print 3 and this is not OK.
Could anyone help me with this?