PDA

View Full Version : order threads by [], []


TECK
05-05-2002, 03:57 AM
can i place a condition like that:ORDER BY sticky DESC, threadid DESC");in other words, it will look first for the sticky threads and if doesnt find any, it will order it by threadid? let me know if i'm correct. thanks.

Zzed
05-05-2002, 04:59 AM
It will display all sticky threads in descending order followed by all non sticky threads in descending order.

And of there are no stickies you will get the threads in descending order. :)

TECK
05-05-2002, 05:28 AM
thanks ed. i wanted to make sure i understand the right way the code.