= '$last2mon' "; $sql .= !empty($facilitynos) ? " AND facilityno IN ($facilitynos)" : ""; $sql .= " ORDER BY id DESC "; $data = mysqli_query($link, $sql); if ($user_auth & 2) { ?>
There is no record!"; endif; #代表結束連線 mysqli_close($link); include "../footer.php"; ?>