Gossamer Forum
Home : Products : Gossamer Links : Discussions :

premium results

Quote Reply
premium results
I have tried using the premium results global with no success. I used the following global

sub {my $tags = shift;my $query = $tags->{query};my $sth = $DB->table('Links')->select ( { KeyWords => $query } );my $output;while (my $link = $sth->fetchrow_hashref) {$output .= Links::SiteHTML::display('link', $link);}return $output; }


named premium_results. A dump shows premium_results has a value of $VAR = 'CODE(0x85674f4)'; .

A tag of <%premium_results%> includes nothing when a search is done on a known keyword and links containing it are returned. Any suggestions ??
Quote Reply
Re: [lparry] premium results In reply to
What is this global meant to do? Print out a list of premium listings?

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!