print "
";
print "";
#type is an array that has 4 elememts new1,new2,new3,new4.
foreach ($cgx=0; $cgx <= $#type; $cgx++) {
$typedb=$type[$cgx] . "db";
print "typedb $typedb\n";
tie %DECISIONS, 'DB_File', "$fdbl[2]clotdes$typedb";
#the fdbl is a flatfile that has different paths to different db files. in this instance, it gives /var/www/cgibin/local/clotdes(new1/new2/new3/new4)db
print "| \n";
print "$type[$cgx] info\n";
print "\n";
$z++;
if ($z == 4) {
print " | \n";
}else{
print "\n";
}
untie %DECISIONS;
}
####
typedb newdb
|
new info
|
####