I'm trying to work a global that will display the last x voted for with the most recent at the top of the list.
I've tried to modify an existing global using these lines but I can't get it to work. Any ideas?
$search_db->select_options ("ORDER BY Created ASC","LIMIT $_[0]");
$sth = $search_db->select ( { ClickType => 'Rate','>=','1' });
I've tried to modify an existing global using these lines but I can't get it to work. Any ideas?
Code:
my $search_db = $DB->table('Links','ClickTrack'); $search_db->select_options ("ORDER BY Created ASC","LIMIT $_[0]");
$sth = $search_db->select ( { ClickType => 'Rate','>=','1' });