like:

my $db->connect(blablabla);
my $sth1 = $db->prepare("select * from animals");
$sth1->execute();
my $sth2 = $db->prepare("select * from pets");
$sth2->execute();
my $sth3 = $db->prepare("select * from fish");
$sth...

while (my ($animal) = $sth2->fetch_array) {
  ...
}

I can´t test myself because my the mysql db on my iphone
is broken and I have no other here at the moment :-(

A simple yes or no will do.
Thanks,
B.

Reply via email to