Hi
I'm creating a Magento-like sorting function on my product table (on back-end of my website).
Somehow I'm getting trouble to apply sort function (with where clause) only to the second 20 records of the table.
What it does is sort the whole table first then cut the result by limit clause.
What I need to do is get the 20 certain records from a table then sort it out.
Is there any other workaround for this one?
Thanks in advance.
|