Quantcast
Channel: Memphis Web Programming - design
Viewing all articles
Browse latest Browse all 11

Multiple select problem

$
0
0
Forums: 

This is my code

<form method=post action=''> <select name='val_int[]' size=4 multiple> <option value='grange1'>First</option> <option value='grange1'>Second</option> <option value='grange3'>Third</option> <option value='grange4'>Forth</option> <option value='' selected>Select a range instance </option> <option value='white'>grange1</option> <select> <input type=submit></form>

$color= $_POST['val_int'];if( is_array($val_int)){ while (list ($key, $val) = each ($val_int)) { echo "$val <br>"; } }//else{echo "not array";}

I can't seem to find why it is not working

Any help Please

Sitetags: 

Viewing all articles
Browse latest Browse all 11

Trending Articles