Hello, Vincent,
Where would I add
SELECT *
FROM table
ORDER BY id ASC
This is how the code start:
LIST
#
Listing profiles with categories
###############################
sub list
{
my @table_template;
open (TEMP, "<${root}$tempz{'list_table'}");
if($flocking) {flock TEMP, 2;}
while(($thisrow = <TEMP>))
{ push(@table_template, $thisrow); }
if($flocking) {flock TEMP, 8;}
close TEMP;
open (TEMP, "<${root}$database");
if($flocking) {flock TEMP, 2;}
while(($thisrow = <TEMP>))
{ push(@list_lines, $thisrow);}
if($flocking) {flock TEMP, 8;}
close TEMP;