$hotel = mysql_real_escape_string($_POST['hotel']);
if (connect($db_host, $db_user, $db_password, $db_name)) { print "connect ok";
$query = "SELECT (hotel_name, land, hotel_beschreibung)
FROM hotel";
if (isset($_POST['hotel'])){
$query.= "WHERE hotel_name LIKE '%$hotel%'";}
$result = query ($query);
if ($result) {print "ZAPROS OK";} else {print "ne ok";}
//}
var_dump($_POST);