q select pid from dex_product where pid<>'22113' and ( pcharacter='' ) and pactivate='1' order by rand() limit 18 relate ,13722,4694,6653,21019,2736,11195,13018,5801,21809,6900,228,19313,12480,1573,15506,20907,10844,21953 Array ( [0] => 13722 [1] => 4694 [2] => 6653 [3] => 21019 [4] => 2736 [5] => 11195 [6] => 13018 [7] => 5801 [8] => 21809 [9] => 6900 [10] => 228 [11] => 19313 [12] => 12480 [13] => 1573 [14] => 15506 [15] => 20907 [16] => 10844 [17] => 21953 )