select `ID` from `z_web_mod_keyword` where `class` in ('article') and `word` in ('NB') and `state`='1' order by `CID` descArray ( [0] => Array ( [ID] => 798208 [DID] => 7 [CID] => 66021 [class] => article [word] => NB [state] => 1 ) [1] => Array ( [ID] => 412367 [DID] => 7 [CID] => 31685 [class] => article [word] => NB [state] => 1 ) [2] => Array ( [ID] => 410673 [DID] => 7 [CID] => 31529 [class] => article [word] => NB [state] => 1 ) [3] => Array ( [ID] => 355710 [DID] => 7 [CID] => 26563 [class] => article [word] => NB [state] => 1 ) [4] => Array ( [ID] => 232775 [DID] => 7 [CID] => 15475 [class] => article [word] => NB [state] => 1 ) ) 1