Re: [PHP3] Multiple selections in <SELECT> From: PinkeshP <email protected>
Date: 08/31/99

look at the following simple program and see if it makes sense

<?
Function print_func ($m) {
echo '<select name="test[]"',$m,'>
<option value="1">one
<option value="2">two
<option value="3">three
<option value="4">four
<option value="5">five
<option value="6">six
</select>';
}

$m="";
print_func ($m);
echo '<input type="submit" value="Submit">';
echo $test;
echo count($test),'';
$selected=implode(",",$test);
echo $selected;
}

else {

echo 'not authorized';

}

?>

</form>

-- 
PHP 3 Mailing List <http://www.php.net/>
To unsubscribe, send an empty message to php3-unsubscribe <email protected>
To subscribe to the digest, e-mail: php3-digest-subscribe <email protected>
To search the mailing list archive, go to: http://www.php.net/mailsearch.php3
To contact the list administrators, e-mail: php-list-admin <email protected>