q select pid from dex_product where pid<>'13068' and ( pcharacter='80' ) and pactivate='1' order by rand() limit 18 relate ,18327,13913,13963,5070,14175,13947,21848,13,8025,15432,89,21546,18858,24397,14075,18304,2184,11966 Array ( [0] => 18327 [1] => 13913 [2] => 13963 [3] => 5070 [4] => 14175 [5] => 13947 [6] => 21848 [7] => 13 [8] => 8025 [9] => 15432 [10] => 89 [11] => 21546 [12] => 18858 [13] => 24397 [14] => 14075 [15] => 18304 [16] => 2184 [17] => 11966 )