<html>
<body>
<form name="form1" method="post" >
<select name="choice[]" multiple="multiple">
<option>Apple</option>
<option>Banana</option>
<option>Mango</option>
<option>Grapse</option>
</select>
<input type="submit" name="save" value="Save">
</form>
</body>
</html>
<?php
if(isset($_REQUEST['save']))
{
foreach ($_REQUEST['choice'] as $result)
{
echo '<br/>'.$result;
}
}
?>
<body>
<form name="form1" method="post" >
<select name="choice[]" multiple="multiple">
<option>Apple</option>
<option>Banana</option>
<option>Mango</option>
<option>Grapse</option>
</select>
<input type="submit" name="save" value="Save">
</form>
</body>
</html>
<?php
if(isset($_REQUEST['save']))
{
foreach ($_REQUEST['choice'] as $result)
{
echo '<br/>'.$result;
}
}
?>