q select pid from dex_product where pid<>'22112' and ( pcharacter='' ) and pactivate='1' order by rand() limit 18 relate ,14553,3212,8283,3830,11758,5499,10896,5893,24336,480,1344,21810,4218,24148,2737,20750,10897,19305 Array ( [0] => 14553 [1] => 3212 [2] => 8283 [3] => 3830 [4] => 11758 [5] => 5499 [6] => 10896 [7] => 5893 [8] => 24336 [9] => 480 [10] => 1344 [11] => 21810 [12] => 4218 [13] => 24148 [14] => 2737 [15] => 20750 [16] => 10897 [17] => 19305 )