plugin_path . 'includes/models/methods-api.php'; $method = new Methods(); include $controller->plugin_path . 'includes/translations/translations.php'; $txt = new Translation; $room_type_id = sanitize_text_field($_POST['param1']); global $wpdb; $room_type = $wpdb->prefix . 'hotel_has_room_type'; $query_result = $wpdb->get_results("SELECT * FROM `$room_type` WHERE `room_type_id` = $room_type_id", ARRAY_A); foreach ($query_result as $row): ?>
" name="name" value=""> txt("e.g. deluxe") ?>
txt("Hold ctrl(on windows) or cmd(on mac) and select multiple") ?>
txt("Hold ctrl(on windows) or cmd(on mac) and select multiple") ?>
txt("Hold ctrl(on windows) or cmd(on mac) and select multiple") ?>
" name="price" value=""> txt("e.g. $50") ?>