Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Re: [Payooo] How to convert this to a global?

Quote Reply
Re: [Payooo] How to convert this to a global? In reply to
Could try;

Code:
sub {
my ($output,$sth,$link);
my $search_db = $DB->table('ClickTrack');
$search_db->select_options ('ORDER BY Created DESC Limit 20');
$sth = $search_db->select;

while ($link = $sth->fetchrow_hashref) {

# do whatever you want with the output here...

}
return $output;
}

Not sure why you would want to grab from ClickTrack though, as all that contains is the IP's etc and Link ID's...

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!
Subject Author Views Date
Thread How to convert this to a global? Payooo 3617 Nov 10, 2002, 7:01 PM
Thread Re: [Payooo] How to convert this to a global?
Andy 3508 Nov 11, 2002, 1:30 AM
Thread Re: [Andy] How to convert this to a global?
Payooo 3508 Nov 11, 2002, 5:06 AM
Thread Re: [Payooo] How to convert this to a global?
yogi 3486 Nov 11, 2002, 5:10 AM
Thread Re: [yogi] How to convert this to a global?
Payooo 3426 Nov 11, 2002, 10:33 PM
Thread Re: [Payooo] How to convert this to a global?
Alex 3397 Nov 14, 2002, 3:45 PM
Thread Re: [Alex] How to convert this to a global?
Payooo 3397 Nov 15, 2002, 2:01 AM
Thread Re: [Payooo] How to convert this to a global?
Paul 3432 Nov 15, 2002, 2:05 AM
Post Re: [Paul] How to convert this to a global?
Payooo 3404 Nov 15, 2002, 2:37 AM