q select pid from dex_product where pid<>'22113' and ( pcharacter='' ) and pactivate='1' order by rand() limit 18 relate ,4226,8714,8560,18237,5913,19342,20177,6297,11222,19396,5349,14552,22755,9382,7805,1095,14142,259 Array ( [0] => 4226 [1] => 8714 [2] => 8560 [3] => 18237 [4] => 5913 [5] => 19342 [6] => 20177 [7] => 6297 [8] => 11222 [9] => 19396 [10] => 5349 [11] => 14552 [12] => 22755 [13] => 9382 [14] => 7805 [15] => 1095 [16] => 14142 [17] => 259 )