I am trying to use the foreach to loop and add the array together
i select the query ("English - 1 ; French -2 ; Chines -3)
select word from words where language = 1;
and it will return the list of english word. and I want to push this list of word in 1 array
select word from words where language = 2; - push French to 2 array
select word from words where language = 3; - Chinese to 3rd array

and combine those array together
@main(@array1,@array2,@array3);

but when I using the for each
foreach $statement(@$statement)
{
my($word) = @$statemnet;
push (@array1, $word);
push(@main,@array);
}
$wordList = ($id , $main);

PLease help ..

Thanks ALL