"; $v_hotel_group=ereg_replace('_', ' ', $v_hotel_group); $v_display_title = "$v_hotel_group - India Hotels - Hotels Directory Of India"; } else{ $v_hotel_group = ""; $v_display_title = "Hotel Chains in India - Hotel Group in India - Chain Hotels in India - India Group Of Hotels"; } ////////////// if (isset($_SESSION['SESSION_USER_ID']) and $_SESSION['SESSION_USER_ID'] != ""){ $TextSign = ""; $TextSign .= "[ Sign Out ]"; $TextSign .= ""; $TextWelcome = ""; $TextWelcome .= "Welcome "; $TextWelcome .= ucfirst($_SESSION['SESSION_USER_NAME']) . ""; //Print $TextSignOut; } else { $TextSign = ""; $TextSign .= "[ Sign In ]"; $TextSign .= ""; $TextWelcome = ""; $TextWelcome .= "Welcome Guest"; //Print $TextSignIn; } ?>
![]() |
|
|
|
|
Sorry ! Unable To Connect To The Server. Error performing query : " . mysql_error() . " "; exit(); } mysql_select_db("$vMySQLDatabase", $conn); if (! @mysql_select_db("hodindia") ){ print "Sorry ! Unable To Locate The Database At This Time. Error performing query : " . mysql_error() . " "; mysql_close($conn); exit(); } if($v_hotel_group == ""){ $Result = ""; $Result = ""; $Result .= "
"; $Result .= " "; print $Result; }// else{ $v_hotel_group = ucwords($v_hotel_group); $QueryChain = "SELECT H_Chain_Id FROM Hotel_Chain_Mast Where H_Chain_Name = '$v_hotel_group'"; $ResultChain = mysql_query($QueryChain, $conn); $RecordChain = mysql_fetch_assoc($ResultChain); $v_chain_id = $RecordChain["H_Chain_Id"]; //print "v_class_id = $v_class_id"; $QueryCity = "SELECT City_Id, City_Name FROM City_Mast Order By City_Name"; $ResultCity = mysql_query($QueryCity, $conn); //$RecordCity = mysql_fetch_assoc($ResultCity); //print "v_city_id = $v_city_id"; $Result = ""; $Result .= " "; $Result .= "
"; $Result .= " "; print $Result; } mysql_close($conn); ?> |