I want to create a key-value pairs in an array within a foreach. Here is what I have so far:
function createOfferUrlArray($Offer) { $offerArray = array();
Something like this?
foreach ($Offer as $key => $value) { $offerArray[$key] = $value[4]; }