Sort Order Class 1.2
Sort Order Class is written with the hope that it will be of use to someone, and comes "as is" without warranty of any kind. I (Serge Stepanov) do no warrant or guarantee that the code will work under any circumstances besides my own. Any damage caused by the use of this script are not the fault of the author.
You are hereby granted permission to use this code in a commerical or non-commerical environment without any fees or written concent. You may distribute, copy and/or modifiy this code for non-commercial purposes, however, this copyright notice must appear on all copies.
Sort Order Class is a class I wrote as a re-write of my original create_order_block() function. It's used to create href links on a page to sort a SQL query (in both ascending and descending orders, the two will alternate). I will make this into an object later on, but it works great as a function too.
More popular Data Type
- Sort Order Class 1.2.php
- 4.9 KB
- 08/27/2010 13:01:08