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

Products: Gossamer Links: Development, Plugins and Globals: generate full category list code: Edit Log

Here is the list of edits for this post
generate full category list code

I have the following in part of a script (not as a global) that I copied from another post in the forum. Problem is... its not working for me - returns nothing to the page. Can anyone see any problem with it?


my $cat_db = $DB->table('Category');
$cat_db->select_options ("ORDER BY Full_Name DESC");
my $sth = $cat_db->select ();
my $output .= "<select name='catid'>";
while (my $cat = $sth->fetchrow_hashref) {
$output .= "<option value='$cat->{ID}'>$cat->{Name}</option>";
my $output .= "</select>";
print "$output";



Last edited by:

ryel01: Aug 8, 2004, 3:50 AM

Edit Log: