Hello, I'm newbie in programming, i have some code like this: <FORM method="post" action=""> <SELECT multiple name="segment[]"> <OPTION value="1">Building & Industry</OPTION> <OPTION value="2">Mechanical & Electrical</OPTION> <OPTION value="3">Civil</OPTION> <OPTION value="4">Oil & Gas</OPTION> <OPTION value="5">Water Sanitation</OPTION> <OPTION value="6">Dredging</OPTION> <OPTION value="7">Tunnel</OPTION> </SELECT> <INPUT type="submit" value="submit"> </FORM> <?PHP $listvals=$_POST[segment]; $n=count($listvals); echo "User chose $n items from the list.<br>\n"; for($i=0;$i<$n;$i++) { echo $listvals[$i]." "); } ?> And i get the result as an array( assumed i select option 2,3,4,5 ): User chose 4 items from the list. 2 3 4 5 my big problem is... i need to keep the result as a variable. Let say that the varible we call as $allData, so the final result should be : $allData="2 3 4 5"; i could send this variable to other pages or send it mysql...., how should i do so i could keep the array values to the variable..... Please help me Best Regards