Hi,
Mmm.. can't see any reason why that wouldn't work. Try this version:
my $tbl = $DB->table('Links');
$tbl->select_options('ORDER BY ID DESC');
my $output;
my $sth = $tbl->select( { isValidated => 'Yes' } ) || die $GT::SQL::error;
while (my $hit = $sth->fetchrow_hashref) {
$output .= Links::SiteHTML::display ('link_short', $hit);
}
return $output;
}
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Mmm.. can't see any reason why that wouldn't work. Try this version:
Code:
sub { my $tbl = $DB->table('Links');
$tbl->select_options('ORDER BY ID DESC');
my $output;
my $sth = $tbl->select( { isValidated => 'Yes' } ) || die $GT::SQL::error;
while (my $hit = $sth->fetchrow_hashref) {
$output .= Links::SiteHTML::display ('link_short', $hit);
}
return $output;
}
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!