what would be the quickest/shortest way to turn the $album_idx = $dbh->selectall_arrayref() into just an array?
@album_idx = @{$dbh->selectall_arrayref()}
Update: also, you may put album_id in the url, and eliminate the first SQL query
In reply to Re: Building an index for next/last in a photo album.
by ccn
in thread Building an index for next/last in a photo album.
by Seumas
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |