q select pid from dex_product where pid<>'22112' and ( pcharacter='' ) and pactivate='1' order by rand() limit 18 relate ,14313,23044,4267,17409,10444,9791,10704,6297,1591,5905,8896,6145,8291,2737,6276,21920,8282,3835 Array ( [0] => 14313 [1] => 23044 [2] => 4267 [3] => 17409 [4] => 10444 [5] => 9791 [6] => 10704 [7] => 6297 [8] => 1591 [9] => 5905 [10] => 8896 [11] => 6145 [12] => 8291 [13] => 2737 [14] => 6276 [15] => 21920 [16] => 8282 [17] => 3835 )