K
K
KronosHD2015-10-04 18:50:57
PHP
KronosHD, 2015-10-04 18:50:57

How to make a pattern first by balls and then by votes?

$q = db::query("select * from projects order by votes desc");

How to make it checked first by the ball and then by the votes? something like this, but to make it work:
$q = db::query("select * from projects order by ball desc, order by votes desc");

Answer the question

In order to leave comments, you need to log in

1 answer(s)
_
_ _, 2015-10-04
@KronosHD

order by balls desc, votes desc

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question