<?php
my @extensions = ();
my $select = $system->db->prepare('SELECT name FROM extensions WHERE package_id = ?');
$select->execute($system->param('package') || '0');
while (my $name = $select->fetchrow_array)
{
push (@extensions,$name);
}
$select->finish;
my $extensions = join(', ',@extensions);
?>