Quick! reply to this post!

HTML HELP! i know this is suppose to go under help…but i need an answer urgently and i know a lot of people are view this forum, so move it if you want later. thanks mod.

anyway, HELP! when i use a <select multiple> thingy, and i select multiple things, how does PHP receive this information?
say i used
<form method=“post” action=“blahblah.php”>
<select name=“test” multiple>
<option value=“1”>1</option>
<option value=“2”>2</option></select></form>

if i selected both, how does php get the information?
i tried $HTTP_POST_VARS[‘test’], but it only gives me the 2, not the 1. how do i get them both? what kind of array?

make the select name an array( select[]) loop through the array and append the values into a string

$string = string . " " . select[$i]

worked for me