Sorry, it should be:
if ($next) {
my $next_link = $CFG->{build_detail_url} . "/" . $DB->table('Links')->detailed_url( $next );
$next_url = qq~<a href="$next_link">$next_title</a>~;
}
if ($prev) {
my $prev_link = $CFG->{build_detail_url} . "/" . $DB->table('Links')->detailed_url( $prev );
$prev_url = qq~<a href="$prev_link">$prev_title</a>~;
}
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!
Code:
my ($next_url, $prev_url); if ($next) {
my $next_link = $CFG->{build_detail_url} . "/" . $DB->table('Links')->detailed_url( $next );
$next_url = qq~<a href="$next_link">$next_title</a>~;
}
if ($prev) {
my $prev_link = $CFG->{build_detail_url} . "/" . $DB->table('Links')->detailed_url( $prev );
$prev_url = qq~<a href="$prev_link">$prev_title</a>~;
}
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!