![]() |
![]() |
2 Einträge, 1 Seite |
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
sub show_entries {
my ($dbh, $sth, @row);
my $category;
$dbh = DBI->connect("DBI:mysql:database=$serverDb;host=$serverName;port=$serverPort",$serverUser,$serverPass);
$sth = $dbh->prepare("SELECT * FROM $serverTabl");
$sth->execute;
while(@row = $sth->fetchrow_array) {
###Ausgabe der Zeilen..
}
$sth->finish;
$dbh->disconnect;
}
$dbh->disconnect or warn $dbh->errstr;
![]() |
![]() |
2 Einträge, 1 Seite |