Fecha actual 2024-11-06 01:34 @107
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 1980