class galleryimg extends connection
{
function showfacility()
{
$qry="select * from facility";
$fireqry=mysql_query($qry,$this->conn) or die ("error in fire");
$i=1;
while($rec=mysql_fetch_array($fireqry))
{
?>
=$i;?>. =$rec["title"];?>

" class="img-responsive" style="position:absolute; height:132px; width:100%;" />
=$rec["title"];?>
$i++;
}
}
}
$galleryobj=new galleryimg();
$galleryobj->setconnection();
$galleryobj->selectdb();
$galleryobj->showfacility();
?>