q select pid from dex_product where pid<>'17516' and ( pcharacter='98' ) and pactivate='1' order by rand() limit 18 relate ,8616,8974,22451,9262,24105,3081,10295,4993,20147,19948,18702,22875,13048,3411,4989,21440,9266,9322 Array
(
[0] => 8616
[1] => 8974
[2] => 22451
[3] => 9262
[4] => 24105
[5] => 3081
[6] => 10295
[7] => 4993
[8] => 20147
[9] => 19948
[10] => 18702
[11] => 22875
[12] => 13048
[13] => 3411
[14] => 4989
[15] => 21440
[16] => 9266
[17] => 9322
)