Hi Andy and Wychwood,
thanks for your help.
Andy your code works perfect.
The output is a little bit too exact
Can I round it up or off???
Male - 41.4787624541164 %
The field prof_gender is set to "Not Null - Yes" so every user has a gender in my database.
So the code works with Wychwood line, too.
Matthias
gpaed.de
thanks for your help.
Andy your code works perfect.
The output is a little bit too exact
Can I round it up or off???
Code:
Female - 58.5212375458836 % Male - 41.4787624541164 %
The field prof_gender is set to "Not Null - Yes" so every user has a gender in my database.
So the code works with Wychwood line, too.
Code:
my $total = $db->count();Matthias
gpaed.de