Guild List
Create Guild
-
Search Guilds
$q="select a.*,b.name as leader_name from guilds a left outer join character_ b on a.leader=b.id"; my $res=$EQDB->query($q); if ($res) { print <<"HTML";
ID
Guild Name
Leader Name
HTML while(my $row=$res->fetch_row_hash) { printf "\t\t
%d
\n",$row->{id}; printf "\t\t
%s
\n",$row->{id},$row->{name}; printf "\t\t
%s
\n",$row->{leader_name}; print "\t\n"; } } ?>