Basically, it would be a matter of adding conditional statements in the one html.pl file, like the following:
if ($IN->('db') eq "somedatabase") {
DO SOMETHING
}
elsif ($IN->('db') eq "somethelse") {
DO SOMETHING ELSE
}
else {
DO DEFAULT
}
These codes could be applied in each subroutine in the html.pl.
OR You could use mulitple html.pl by adding the following codes in the default.cfg file:
if ($IN->('db') eq "somedatabase") {
require "/full/path/to/somedatabase.pl";
}
elsif ($IN->('db') eq "somethelse") {
require "/full/path/to/somethelse.pl";
}
else {
require "/full/path/to/default.pl
}
BTW: This project would be more easily managed with LINKS SQL.
========================================
Buh Bye!
Cheers,
Me
Code:
if ($IN->('db') eq "somedatabase") {
DO SOMETHING
}
elsif ($IN->('db') eq "somethelse") {
DO SOMETHING ELSE
}
else {
DO DEFAULT
}
These codes could be applied in each subroutine in the html.pl.
OR You could use mulitple html.pl by adding the following codes in the default.cfg file:
Code:
if ($IN->('db') eq "somedatabase") {
require "/full/path/to/somedatabase.pl";
}
elsif ($IN->('db') eq "somethelse") {
require "/full/path/to/somethelse.pl";
}
else {
require "/full/path/to/default.pl
}
BTW: This project would be more easily managed with LINKS SQL.
========================================
Buh Bye!
Cheers,
Me