Thread MySQL und Perl (71 answers)
Opened by H3llGhost at 2007-10-14 17:05

H3llGhost
 2007-10-14 19:33
#100799 #100799
User since
2007-10-14
60 articles
BenutzerIn
[default_avatar]
Code (perl): (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
        my $query = "
                SELECT
                        serverId,
                        game,
                        name,
                        rcon_password,
                        publicaddress
                FROM
                        hlstats_Servers
                WHERE
                        address='$address' AND
                        port='$port'
        ";
        my $result = &doQuery($query);
        my $hash_ref;
 
        while ($hash_ref = $dbh->selectrow_hashref($result)) {
         Servers[$hash_ref->{'serverId'}] = $$hash_ref;
        }


Das müsste doch auch gehen oder?

View full thread MySQL und Perl