Gallery
class galleryimg extends connection
{
function showgallery()
{
$qry="select * from gallery";
$fireqry=mysql_query($qry,$this->conn) or die ("error in fire");
while($rec=mysql_fetch_array($fireqry))
{
?>

" class="img" height="150" width="200" style="position:absolute; margin:0;"/>
}
}
}
$galleryobj=new galleryimg();
$galleryobj->setconnection();
$galleryobj->selectdb();
$galleryobj->showgallery();
?>