Hi,
Why you don't change your SQL statement, that way you would get the values in right order, as you firstly wanted without needing to code something ugly and confusing... like:
my $query = "SELECT id, display_name FROM membership ORDER BY display_ +name"; # use DESC if you don't want ASC order. my $sth = $dbh->prepare($query); ...
Regards,
I like merlyn's disclaimer
In reply to Re: creating CGI::scrolling_list ... can this be shortened?
by fmerges
in thread creating CGI::scrolling_list ... can this be shortened?
by geektron
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |