two array combination using foreach loop