Fecha actual 2024-11-23 08:11 @382
require "config.conf";
use DBI;
my $nick = "leibvitz";
my $dbh = DBI->connect("DBI:mysql:$db:localhost",$user_db,$pass_db)
or die "No puedo conectarme\n";
my $sth = $dbh->prepare("SELECT COUNT(*) FROM service_admin WHERE admin='$nick';");
$sth->execute();
($num) = $sth->fetchrow_array();
$sth->finish();
$dbh->disconnect;
print "$num\n";
DBD::mysql::st execute warning: at ...
Mensajes totales 36880 • Temas totales 7428 • Usuarios totales 1981