$sql = mysqli_query($link, 'SELECT `ID`, `comment`, `id_comp`, `reg_date` FROM `tasks` `id_comp`=8;');
$sqlcomp = mysqli_query($link, 'SELECT `id` FROM `company`');
echo "{$product['id']}";
$sql = mysqli_query($link, "SELECT ID, comment, id_comp, reg_date FROM tasks WHERE id_comp = '" . $myid . "'");