Below is my code
$itemSpec = Array
(
[0] => Brand:Adidas
[1] => Style:Snowsuits & Bibs
[2] => Country:China
[3] => Material:Cotton Blend
[4] => Sport:Bowling
[5] => Sleeve length:Short Sleeve
[6] => Theme:Liverpool
)
The above array value is a combination of title and value of item specification separated by:
foreach ($itemSpec as $v){
$allItemSpec = explode(':', $v);
if($allItemSpec[0] == "Country"){
$allItemSpec[0] = "Country/Region of
Manufacture";
}
$allItemSpec = "<tr>"
"<td>$allItemSpec[0]:</td>
<td>$allItemSpec[1]</td>
</tr>";
echo $allItemSpec;
}
Below is the image of what i wanted to acheive
THE BELOW IS THE CURRENT RESULT I'M HAVING

I want to have only 4 td in a tr, and if I remove 2 td from within the code what I get is only 2 td within a tr which is not the result I want, I hope someone can help with this and thanks in advance.
