<?php $words = array( "Pronouns" => array( "it/its" => 2, "they/them" => 1, "she/her" => 1, "any neopronouns" => 1, "any/all" => 0, "he/him" => -1 ), "General Nouns" => array( "possum" => 2, "woman" => 1, "girl" => 1, "enby" => 1, "lady" => 1, "person" => 0, "boy" => -1, "bro" => -1, "dude" => -1, "man" => -1, ), "Nouns (Close)" => array( "friend" => 2, "wife" => 2, "partner" => 2, "girlfriend" => 2, "darling" => 2, "beloved" => 2, "husband" => -1, "boyfriend" => -1, ), "Adjectives" => array( "pretty" => 2, "smart" => 2, "cute" => 2, "sexy" => 1, "hot" => 1, "nice" => 1, "handsome" => -1, ) ); $tbl = array( 2 => "yes!!", 1 => "sure", 0 => "alright", -1 => "no", ) ?> <!DOCTYPE html> <html lang="en"> <?php include("inc/head.php"); ?> <body> <?php include("inc/top.php"); ?> <div class="container"> <?php include("inc/header.php"); ?> <?php foreach($words as $type => $items) { ?> <div class="section"> <h2><?=$type?></h2> <ul> <?php foreach($items as $word => $value) { ?> <li><?=$word?> - <?=$tbl[$value]?></li> <?php } ?> </ul> </div> <?php } ?> <?php include("inc/footer.php"); ?> </div> <script defer src="js/script.js"></script> </body> </html>