window.top.location.href = '../seller/home.php'; "; } if(isset($_SESSION['user_type']) && $_SESSION['user_type'] === 'admin'){ echo ""; } if(isset($_SESSION['user_type']) && $_SESSION['user_type'] === 'guide'){ echo ""; } } ?>
Cart
Account
'; } else { echo '
Sign up
Log in
'; } ?>
State
Select
query($query); // Check if the query was successful if ($result) { // Populate the dropdown with states while ($row = $result->fetch_assoc()) { $stateId = $row['id']; $stateName = $row['name']; echo "
$stateName
"; } echo '
'; } else { echo "Error fetching states from the database."; } ?>
City
Select
Check-in
Check-out
Hotel type
Select
query($query); // Check if the query was successful if ($result) { // Populate the dropdown with states while ($row = $result->fetch_assoc()) { $hoteltypeId = $row['hotel_type_id']; $hoteltypeName = $row['hotel_type_name']; echo "
$hoteltypeName
"; } echo '
'; } else { echo "Error fetching states from the database."; } ?>
Search hotel
Search