Page 1 of 1

ascend / descend

Posted: Mon Dec 22, 2003 2:15 pm
by AliJay
how can i make things descend rather than asscend (please excuse spelling)

Posted: Mon Dec 22, 2003 2:27 pm
by DuFF
I'm guessing you're talking about a MySQL query but next time be sure to give all the info about the problem you're having.

Heres an example:

Code: Select all

$query = "SELECT * FROM tbl_name WHERE foo='$bar' ORDER BY '$somevar' DESC";

Posted: Mon Dec 22, 2003 2:28 pm
by AliJay
thanks and i will be more careful in the future