cynicgrrl has asked for the wisdom of the Perl Monks concerning the following question:
#!/usr/local/bin/perl5.005
use lib '../L2e/lib';
use DBI(0.90);
use strict;
use Database;
use CGI qw(:standard);
Database::->db_info_path("../L2e/lib/db.cfg");
my $dbh = new Database;
print "Content-type: text/html\n\n";
#Grab the evaluation responses from the form
my $tc9Questions = param('tc9Questions');
my $tcQ10 = param('tcQ10');
my $tcQ12 = param('tcQ12');
#Get the list of courses
my $title = "select C.il2e002_course_id_k, C.il2e002_course_title_x,
T.il2e001_topic_id_k from il2e001_topic T, il2e002_course C
where T.il2e001_topic_id_k = C.il2e001_topic_id_k order by T.il2e001_topic_desc_x,
C.il2e002_course_title_x";
my %titles = $dbh->fetch_all_hash($title);
foreach my $key (keys %titles)
{
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: Order a hash?
by mikfire (Deacon) on Jul 20, 2000 at 16:56 UTC | |
|
Re: Order a hash?
by dempa (Friar) on Jul 20, 2000 at 17:18 UTC | |
|
RE: Order a hash?
by turnstep (Parson) on Jul 20, 2000 at 17:59 UTC | |
by Adam (Vicar) on Jul 20, 2000 at 20:37 UTC | |
|
(ar0n; use sort)RE: Order a hash?
by ar0n (Priest) on Jul 20, 2000 at 16:48 UTC | |
by Russ (Deacon) on Jul 21, 2000 at 02:44 UTC | |
|
Re: Order a hash?
by atl (Pilgrim) on Jul 20, 2000 at 20:24 UTC | |
|
Re: Order a hash?
by cynicgrrl (Initiate) on Jul 20, 2000 at 20:15 UTC |