q select pid from dex_product where pid<>'22841' and ( pcharacter='549' ) and pactivate='1' order by rand() limit 18 relate ,16569,16557,19607,19608,16578,16591,19807,23295,23469,16546,19580,16568,21219,19581,19591,16587,16547,22221 Array
(
[0] => 16569
[1] => 16557
[2] => 19607
[3] => 19608
[4] => 16578
[5] => 16591
[6] => 19807
[7] => 23295
[8] => 23469
[9] => 16546
[10] => 19580
[11] => 16568
[12] => 21219
[13] => 19581
[14] => 19591
[15] => 16587
[16] => 16547
[17] => 22221
)