$arr = [['name' => 'ford', 'count' => 2],
['name' => 'ford', 'count' => 8],
['name' => 'lada', 'count' => 9],
['name' => 'lada', 'count' => 2]];
$result = [];
foreach($arr as $car) {
if (!isset($result[$car['name']]) || $result[$car['name']] < $car['count']) {
$result[$car['name']] = $car['count'];
}
}
<table class="table_price">
<tr>
<th>Наименовение услуги</th>
<th>Цена</th>
</tr>
<tr>
<td>Item 1</td>
<td>Item 2</td>
</tr>
<tr class="separator"></tr> <tr>
<td>Item 1</td>
<td>Item 2</td>
</tr>
</table>
table .separator {
width: 20px;
height: 20px;
}
<table clas="table_price">