include("../../common/functions.inc"); include("../../kidconn.inc"); $typequery = "SELECT cotype, cotypedesc FROM as400files.cbcotypes"; $typeresult = mysqli_query($connection, $typequery) or die ("Couldn't execute type query. Error: ".mysqli_error()); while($typerow = mysqli_fetch_array($typeresult)) { extract ($typerow); $typeArray[trim($cotype)] = trim($cotypedesc); } foreach($typeArray as $type => $desc) { $divSort = companySort($type); if($divSort == "AH") { $ahArray[] = $type; } elseif($divSort == "LF") { $lfArray[] = $type; } elseif($divSort == "PC") { $pcArray[] = $type; } else { $oeArray[] = $type; } } ?>
Accident & Health:
echo "Life:
echo "Property & Casualty:
echo "Close this window when finished
mysqli_close($connection); ?>