derekash913 has asked for the wisdom of the Perl Monks concerning the following question:
sub displayphone { #Retrieve current state of the object my $self = shift; #Prepare DB by establishing DB handle and statement handle my $dbh = $self->param('dbh'); my $sth = $dbh->prepare('Select * FROM directory ORDER BY last_nam +e'); #Execute MySQL $sth->execute; #Create an array to hold the values returned from the DB before th +ey are displayed in a form my @results; foreach ( ) }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Beginner question about displaying database contents using HTML Template
by bobf (Monsignor) on Jul 19, 2006 at 20:23 UTC | |
by derekash913 (Initiate) on Jul 20, 2006 at 18:12 UTC | |
by jZed (Prior) on Jul 20, 2006 at 18:23 UTC | |
|
Re: Beginner question about displaying database contents using HTML Template
by jZed (Prior) on Jul 19, 2006 at 19:39 UTC |