in reply to Re^2: Perl and DBI and CGI
in thread Perl and DBI and CGI
Hi!
Check if this is helps...
$query = "SELECT Name, Email FROM users"; $sth = $dbh->prepare($query); $sth->execute(); while($Name,$Email) = $sth->fetchrow_array){ print "$Name, $Email";} $sth->finish(); $dbh->disconnect;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Perl and DBI and CGI
by fmerges (Chaplain) on Jun 24, 2005 at 12:49 UTC | |
Re^4: Perl and DBI and CGI
by sOKOle (Acolyte) on Jun 23, 2005 at 14:05 UTC | |
by sapnac (Beadle) on Jun 23, 2005 at 15:06 UTC | |
by Anonymous Monk on Jun 24, 2005 at 12:04 UTC |
In Section
Seekers of Perl Wisdom