mysql request order by where -


im confused, have simple request doesnt work...

'select * articles status = "2" order time_added desc limit $start, $num' 

$start , $num pagination

it works if do:

 'select * articles status = "2"' 

or:

 'select * articles order time_added desc limit $start, $num' 

i know, simple stucked with, i'm stucked. please, help. thank time.


Comments

Popular posts from this blog

Winapi c++: DialogBox hangs when breaking a loop -

vb.net - Font adding using PDFsharp -

javascript - jQuery iScroll clickable list elements while retaining scroll? -