[exec]
$connection = mysqli_connect(‘localhost’, ‘u0489217_gb_htun’, ‘7ad8c76e3678’, ‘u0489217_gb_htun’);
$firm = $_GET[‘firm’];
$query = «SELECT * FROM hell_tuning WHERE firm = ‘».$firm.»‘»;
$result = $connection->query($query);
$model_repeat = array();
while ($row=mysqli_fetch_array($result)) {
array_push($model_repeat,$row[‘model’]);
}
$model = array_unique($model_repeat);
$count = sizeof($model_repeat);
sort($model);
for ($i = 0; $i < $count; $i++){
if ($model[$i] == null) {
unset($model[$i]);
}
// echo $model[$i]."\n";;
}
// echo sizeof($model);
mysqli_close($connection);
sort($model);
for ($i = 0; $i