q select pid from dex_product where pid<>'11341' and ( pcharacter='85' ) and pactivate='1' order by rand() limit 18 relate ,5269,2101,2117,6535,2106,6203,208,9422,11046,6124,846,2334,5029,2120,6123,2119,9423,6116 Array ( [0] => 5269 [1] => 2101 [2] => 2117 [3] => 6535 [4] => 2106 [5] => 6203 [6] => 208 [7] => 9422 [8] => 11046 [9] => 6124 [10] => 846 [11] => 2334 [12] => 5029 [13] => 2120 [14] => 6123 [15] => 2119 [16] => 9423 [17] => 6116 )