foreach ($rows as $k => $v) {
            if (in_array($v['medical_name'], $arr_medical_name)) {
            } else {
                array_push($arr_medical_name, $v['medical_name']);
                print "<h3>" . $i . ". " . $v['medical_name'] . "</h3>";
                $i++;
            }
        }
    } else {
        print "<H3>ไม่มีข้อมูล</H3>";
    }
}
?>
                        <h1><strong>คะแนนเฉลี่ยความพึงพอใจ</strong></h1>
                        <h3><?php 
$rate = $ht->get_rating_by_hospital_id($_GET['hospital_id']);
echo $rate['word'] . " ( " . round($rate['score'], 2) . " คะแนน )";
?>
</h3>
                </section>
                <?php 
if (!isset($_GET['do'])) {
    ?>
                <section>
                    <h1><strong>รายะละเอียดการรักษา</strong></h1>
                    <div class="row">
                        <div class="col-md-12">
                            <table class="table table-hover table-bordered table-striped">
                                <thead>
                                    <tr>
                                        <th>#</th>