| Never tried the database handle selectrow_array() method, but | |
| we know the statement handle fetchrow_array() works: | |
| $dbh = DBI->connect($dsn, $user, $passwd); | |
| $sql = "select min(thing) as itsmin, max(thing) as itsmax from images where foo like 'bar%'"; | |
| $sth = $dbh->prepare($sql); | |
| $sth->execute; | |
| while ( @row = $sth->fetchrow_array() ) { | |
| print @row . "\n"; | |
| } | |
| Check the CPAN DBI doc. | |
In reply to Re: selectrow_array() confusion
by Equidor
in thread selectrow_array() confusion
by Cody Pendant
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |