<?php
$id = $_GET['id'];
$sql = mysqli_query($link, "SELECT `name`,`description`,`img`,`cost` FROM `product` WHERE `id` = '$id'");
$url = "js/turkish.json";
$file = file_get_contents($url);
$file = json_decode($file, true);
while ($row = mysqli_fetch_assoc($sql)) {
echo "<tr><td ><img class='img-turkish' src='".$row['img']."'></td><td valign='top'><div class='title'>".$row['name']."</div><br><div class='text'>".$row['description']."</div><div class='cost'>Стоимость".' '.$row['cost']."</div><br>".$file."</td></tr>";
}