Dear Friends,
I am having an array of employess with their employee numbers as follows
$arrEmp[0]='1';
$arrEmp[1]='2';
$arrEmp[2]='3';
$arrEmp[3]='4';
$arrEmp[4]='5';
$arrEmp[5]='6';
$arrEmp[6]='7';
$arrEmp[7]='8';
$arrEmp[8]='9';
--- $arrEmp[n]='n';
how can I pick 5 unique employee numbers randomly into a string.
The string should not contain the repeted employee numbers.
the string should be like 4,9,12,34 but not like 2,9,2,34
I did the same by using the while loop , is there any simple way
regards,
bvsureshbabu