q select pid from dex_product where pid<>'8539' and ( pcharacter='183' ) and pactivate='1' order by rand() limit 18 relate ,11032,8436,9421,11029,8438,4821,10279,11026,14693,6496,8437,8439,11488,8435,11020,14686,24014,22224 Array ( [0] => 11032 [1] => 8436 [2] => 9421 [3] => 11029 [4] => 8438 [5] => 4821 [6] => 10279 [7] => 11026 [8] => 14693 [9] => 6496 [10] => 8437 [11] => 8439 [12] => 11488 [13] => 8435 [14] => 11020 [15] => 14686 [16] => 24014 [17] => 22224 )