q select pid from dex_product where pid<>'13068' and ( pcharacter='80' ) and pactivate='1' order by rand() limit 18 relate ,14166,8499,9639,21625,6821,10602,8831,1829,10649,543,22292,10022,21160,20498,22293,5113,10605,8299 Array ( [0] => 14166 [1] => 8499 [2] => 9639 [3] => 21625 [4] => 6821 [5] => 10602 [6] => 8831 [7] => 1829 [8] => 10649 [9] => 543 [10] => 22292 [11] => 10022 [12] => 21160 [13] => 20498 [14] => 22293 [15] => 5113 [16] => 10605 [17] => 8299 )