<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>Communities</title> <link rel="stylesheet" type="text/css" href="style.css" /> </head> <body> <div id="main"> <div id="allfamilies"> <h3>ALL Families</h3> <?php # Instantiate class Family $family = new Family(); # We print all the families $family->print_all_families($connection); ?> </div> <!-- this is a block that shows all the societies --> <div id="allsocieties"> <h3>ALL Societies</h3> <?php # Instantiate class Society $society = new Society(); # We print the societies $society->print_all_society($connection); ?> </div> <!-- Get details about society -->