sOKOle has asked for the wisdom of the Perl Monks concerning the following question:
The Problem and Question are:$query = "SELECT * FROM users"; $sth = $dbh->prepare($query); $sth->execute(); $sth->bind_columns(undef, \$Name, \$Email); while($sth->fetch()){ print "$Name, $Email";} $sth->finish(); $dbh->disconnect;erl
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Perl and DBI and CGI
by monkey_boy (Priest) on Jun 23, 2005 at 13:00 UTC | |
by sOKOle (Acolyte) on Jun 23, 2005 at 13:19 UTC | |
by monkey_boy (Priest) on Jun 23, 2005 at 13:26 UTC | |
by sOKOle (Acolyte) on Jun 23, 2005 at 13:53 UTC | |
by monkey_boy (Priest) on Jun 23, 2005 at 14:26 UTC | |
| |
by sapnac (Beadle) on Jun 23, 2005 at 13:27 UTC | |
by fmerges (Chaplain) on Jun 24, 2005 at 12:49 UTC | |
by sOKOle (Acolyte) on Jun 23, 2005 at 14:05 UTC | |
by sapnac (Beadle) on Jun 23, 2005 at 15:06 UTC | |
| |
by blazar (Canon) on Jun 23, 2005 at 13:23 UTC | |
|
Re: Perl and DBI and CGI
by blazar (Canon) on Jun 23, 2005 at 12:53 UTC |