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

Perl - how to grep a block of text from a file -

delphi - How to remove all the grips on a coolbar if I have several coolbands? -

javascript - Animating array of divs; only the final element is modified -