How to bind arrays?
- by Emily
Say i have those 3 arrays :
Product(milk,candy,chocolate)
Colors(white,red,black)
Rating(8,7,9)
How to create a loop to bind those arrays so i get 3 variables in each loop : $product $color $rating
So by example i will output like this:
Milk is white and has a rating of 8/10
Candy is red and has a rating of 7/10
Chocolate is black and has a rating of 9/10
Thanks