$TempGGroup="Flats";
$connPropertyCategoryAll=mysqli_connect("localhost", "realtyinfagrourp_realtUr", "9KhW1h018XQq", "realtyinfagrourp_realtyinfagrourpDB");
//mysql_select_db("realtyinfagrourp_realtyinfagrourpDB",$sqlPropertyCategoryAll);
$sqlPropertyCategoryAll="select * from PropertyCategory where GGroup='$TempGGroup' order by PropertyCategoryid";
$resultPropertyCategoryAll=mysqli_query($connPropertyCategoryAll,$sqlPropertyCategoryAll) or die(mysql_error());
$number_of_rowsPropertyCategoryAll=mysqli_num_rows($resultPropertyCategoryAll);
while ($newarrayPropertyCategoryAll=mysqli_fetch_assoc($resultPropertyCategoryAll))
{
$PropertyCategoryid=$newarrayPropertyCategoryAll['PropertyCategoryid'];
$GGroup=$newarrayPropertyCategoryAll['GGroup'];
$PropertyCategoryName=$newarrayPropertyCategoryAll['PropertyCategoryName'];
$PropertyArea=$newarrayPropertyCategoryAll['PropertyArea'];
$PropertyLocation=$newarrayPropertyCategoryAll['PropertyLocation'];
$PropertyDesc=$newarrayPropertyCategoryAll['PropertyDesc'];
$imagename=$newarrayPropertyCategoryAll['imagename'];
?>