q select pid from dex_product where pid<>'20115' and ( pcharacter='' ) and pactivate='1' order by rand() limit 18 relate ,10671,20907,9184,14119,9175,15149,4854,7897,1700,19757,14309,6061,19307,15157,19397,21592,20116,3834 Array ( [0] => 10671 [1] => 20907 [2] => 9184 [3] => 14119 [4] => 9175 [5] => 15149 [6] => 4854 [7] => 7897 [8] => 1700 [9] => 19757 [10] => 14309 [11] => 6061 [12] => 19307 [13] => 15157 [14] => 19397 [15] => 21592 [16] => 20116 [17] => 3834 )