$connGallyCategoryAll=mysqli_connect("localhost", "realtyinfagrourp_realtUr", "9KhW1h018XQq", "realtyinfagrourp_realtyinfagrourpDB");
//mysql_select_db("realtyinfagrourp_realtyinfagrourpDB",$sqlGallyCategoryAll);
$sqlGallyCategoryAll="select * from GallyCategory order by GallyCategoryid";
$resultGallyCategoryAll=mysqli_query($connGallyCategoryAll,$sqlGallyCategoryAll) or die(mysql_error());
$number_of_rowsGallyCategoryAll=mysqli_num_rows($resultGallyCategoryAll);
while ($newarrayGallyCategoryAll=mysqli_fetch_assoc($resultGallyCategoryAll))
{
$GallyCategoryid=$newarrayGallyCategoryAll['GallyCategoryid'];
$GallyCategoryName=$newarrayGallyCategoryAll['GallyCategoryName'];
$imagename=$newarrayGallyCategoryAll['imagename'];
?>