Hi,
I want to store the values that are in array($selected) into a single variable($result). How can i do it? Variable of $result should be 4,3,9. I get this error "Notice: Undefined variable: result in C:\wamp\www....".
Thanks
$selected=array("0" => 4, "1" => 3, "2" => 9 );
foreach ($selected as &$value) {
$result="$result"."$value,";
}
echo $result;