I have $product array. Here is the sample data in the array.

```
[feature]=>[value]

[width]=> [100 m]
[method]=> [Nail Down]
[method]=> [Main Floor]
[Warranty]=> [25 years]
[Color]=> [Red]
[Color]=> [Blue]

```

I want to print the above data as

```
Width: 100m
method: Nail Down, Main Floor
Warranty: 25 years
Color: Red, Blue
Here is the smarty code i have

```

I have the following code.

```
foreach($product as $key=$Value){
       echo $key."=".$value.<br>;
 } 

```

Please note that i don't want to generate another array and then print. Thanks in advance