b310 has asked for the wisdom of the Perl Monks concerning the following question:
my $customer_id; $customer_id = param("customer_id");
{ my ($dbh, $track_ref) = @_; $dbh = WebDB::connect (); my $sth = $dbh->prepare ("SELECT * FROM Shipments WHERE customer_id = +?"); $sth->execute($customer_id); $track_ref = $sth->fetchrow_hashref (); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Can't retrieve all records
by pzbagel (Chaplain) on Jun 03, 2003 at 20:35 UTC | |
by b310 (Scribe) on Jun 03, 2003 at 21:01 UTC | |
by theAcolyte (Pilgrim) on Jun 03, 2003 at 21:11 UTC | |
by arthas (Hermit) on Jun 03, 2003 at 21:16 UTC | |
by b310 (Scribe) on Jun 03, 2003 at 21:25 UTC | |
by arthas (Hermit) on Jun 03, 2003 at 21:32 UTC |