<?php $products = [1, 2, 3, 4, 5]; $vendors = ["Amazon", "Newegg", "##php"]; foreach ($products as $productID) { foreach ($vendors as $vendor) { printf("Combination: %s at %s", $productID, $vendor); } }
You have javascript disabled. You will not be able to edit any code.