![]() ![]() | ![]() |
version 1.17, 2003/09/04 21:09:47 | version 1.18, 2004/04/19 20:29:38 |
---|---|
Line 529 sub htmlize { | Line 529 sub htmlize { |
sub ListPeople { | sub ListPeople { |
my %args = @_; | my %args = @_; |
my $sth = $args{'dbh'}->prepare(" | my $sth = $args{'dbh'}->prepare(" |
SELECT pid,Position FROM ClubPeople WHERE cid=$args{'cid'} ORDER BY Weight DESC"); | SELECT a.pid,a.Position FROM ClubPeople=a,People=b WHERE a.cid=$args{'cid'} and a.pid=b.pid ORDER BY a.Weight Desc, b.Name"); |
$sth->execute; | $sth->execute; |
if (!$sth->rows) { | if (!$sth->rows) { |