Hi
I am using a global to display the newest links added to the database:
sub {
# Displays the newest 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 8');
$sth = $search_db->select ( { isNew => 'Yes', isValidated => 'Yes' });
while ($link = $sth->fetchrow_hashref) {
$output .= Links::SiteHTML::display ('link1', $link);
}
return $output;
}
I am trying to limit the size of the title displayed to 50 letters only so the shap will fit right.. is there any way to do that?
EXample:
Actual Title = Buy sell and auction on any items online from sales.com
Displayes Title = Buy sell and auction on any items..
Regards
KaTaBd
Users plug In - Multi Search And Remote Search plug in - WebRing plug in - Muslims Directory
I am using a global to display the newest links added to the database:
sub {
# Displays the newest 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 8');
$sth = $search_db->select ( { isNew => 'Yes', isValidated => 'Yes' });
while ($link = $sth->fetchrow_hashref) {
$output .= Links::SiteHTML::display ('link1', $link);
}
return $output;
}
I am trying to limit the size of the title displayed to 50 letters only so the shap will fit right.. is there any way to do that?
EXample:
Actual Title = Buy sell and auction on any items online from sales.com
Displayes Title = Buy sell and auction on any items..
Regards
KaTaBd
Users plug In - Multi Search And Remote Search plug in - WebRing plug in - Muslims Directory