This is a text and code for sorting.
My question: What is the direct link for working this funktion ?
Default Sorting - relational mod (easy method)
A simple way of creating a default sort field and sort order would be to add the following to your .cfg file:
$sort_field ='3';
$sort_order = 'ascend'; OR: $sort_order = "descend';
Then just use the variable in your links, form, etc. This makes it very easy to change if your sort order, and you can easily use the same db.cgi files for various databases.
Werner
My question: What is the direct link for working this funktion ?
Default Sorting - relational mod (easy method)
A simple way of creating a default sort field and sort order would be to add the following to your .cfg file:
$sort_field ='3';
$sort_order = 'ascend'; OR: $sort_order = "descend';
Then just use the variable in your links, form, etc. This makes it very easy to change if your sort order, and you can easily use the same db.cgi files for various databases.
Werner