I am trying to order my results, and I need to order by two colums I have this:
It doesn't workPHP Code:$thread1 = "SELECT * FROM threads WHERE idnum='$threadnum' ORDER BY date AND ORDER BY time DESC";
Is there a better way to get this to order?
I would like it to be ordered by date, then by time.


Reply With Quote
Bookmarks