Thread Abfrage nicht vollständig, benötige Hilfe (14 answers)
Opened by Gast at 2007-09-27 14:45

renee
 2007-09-27 15:20
#100063 #100063
User since
2003-08-04
14371 Artikel
ModeratorIn
[Homepage] [default_avatar]
Entweder:
Code (perl): (dl )
1
2
my ($count) = $dbh->selectrow_array(q{SELECT COUNT(1) FROM gtchat_pm_in WHERE pm_to=? and new=1}, undef, $nick);
my $output = $main->createInfoOutput('newmails',{mails => $count});


Oder
Code (perl): (dl )
1
2
my @count = $dbh->selectrow_array(q{SELECT COUNT(1) FROM gtchat_pm_in WHERE pm_to=? and new=1}, undef, $nick);
my $output = $main->createInfoOutput('newmails',{mails => $count[0]});


Edit: nepos' Beitrag übersehen...
OTRS-Erweiterungen (http://feature-addons.de/)
Frankfurt Perlmongers (http://frankfurt.pm/)
--

Unterlagen OTRS-Workshop 2012: http://otrs.perl-services.de/workshop.html
Perl-Entwicklung: http://perl-services.de/

View full thread Abfrage nicht vollständig, benötige Hilfe