Guest Preview

Guest Preview

    query($sql); $num = $db->num_rows($que); $pages = ceil($num/$perpage); $limit = (!$_GET['page'])?" LIMIT 0,$perpage":"LIMIT ".(($_GET['page']-1)*$perpage).",$perpage"; $sql = "SELECT * FROM guest_preview WHERE guest_preview.gp_status = 'Y' ORDER BY guest_preview.gp_id DESC $limit"; $que = $db->query($sql); while($rec = $db-> fetch_array($que)){ ?>
  • <?php echo $rec['g_name']; ?>

    -

Add Your Preview to our Guest Book Make a Reservation