select `ID` from `z_web_mod_keyword` where `class` in ('article') and `word` in ('先生') and `state`='1' order by `CID` descArray ( [0] => Array ( [ID] => 313499 [DID] => 7 [CID] => 22807 [class] => article [word] => 先生 [state] => 1 ) [1] => Array ( [ID] => 313442 [DID] => 7 [CID] => 22802 [class] => article [word] => 先生 [state] => 1 ) [2] => Array ( [ID] => 313433 [DID] => 7 [CID] => 22801 [class] => article [word] => 先生 [state] => 1 ) [3] => Array ( [ID] => 313419 [DID] => 7 [CID] => 22800 [class] => article [word] => 先生 [state] => 1 ) [4] => Array ( [ID] => 313380 [DID] => 7 [CID] => 22796 [class] => article [word] => 先生 [state] => 1 ) [5] => Array ( [ID] => 313332 [DID] => 7 [CID] => 22792 [class] => article [word] => 先生 [state] => 1 ) [6] => Array ( [ID] => 313307 [DID] => 7 [CID] => 22790 [class] => article [word] => 先生 [state] => 1 ) [7] => Array ( [ID] => 313119 [DID] => 7 [CID] => 22772 [class] => article [word] => 先生 [state] => 1 ) [8] => Array ( [ID] => 290311 [DID] => 7 [CID] => 20724 [class] => article [word] => 先生 [state] => 1 ) [9] => Array ( [ID] => 288722 [DID] => 7 [CID] => 20576 [class] => article [word] => 先生 [state] => 1 ) ) 1