<?php
$customgallery      = mysqli_query($conn, "SELECT * FROM hotel_images WHERE hotel_id = '$id' AND hotel_ima_active = '1' AND hotel_ima_deleted = '0' ");
$customgallerytotal = mysqli_num_rows($customgallery);
?>