Hi
I am using Recie_link plug in and I am trying to pull a list of all links with Has_priority set to Yes:
sub {
# Displays the priority links on the home page.
my ($output,$sth,$link);
my $search_db = $DB->table('Links');
$search_db->select_options ('ORDER BY Add_Date DESC Limit 50');
$sth = $search_db->select ( { Has_Priority => 'Yes' });
while ($link = $sth->fetchrow_hashref) {
$output .= Links::SiteHTML::display ('link_short', $link);
}
return $output;
}
For some reason it is returnning links those have it set to No as well ?
Regards
KaTaBd
Users plug In - Multi Search And Remote Search plug in - WebRing plug in - Muslims Directory
I am using Recie_link plug in and I am trying to pull a list of all links with Has_priority set to Yes:
sub {
# Displays the priority links on the home page.
my ($output,$sth,$link);
my $search_db = $DB->table('Links');
$search_db->select_options ('ORDER BY Add_Date DESC Limit 50');
$sth = $search_db->select ( { Has_Priority => 'Yes' });
while ($link = $sth->fetchrow_hashref) {
$output .= Links::SiteHTML::display ('link_short', $link);
}
return $output;
}
For some reason it is returnning links those have it set to No as well ?
Regards
KaTaBd
Users plug In - Multi Search And Remote Search plug in - WebRing plug in - Muslims Directory