q select pid from dex_product where pid<>'21894' and ( pcharacter='537' ) and pactivate='1' order by rand() limit 18 relate ,22612,21426,20687,22701,21761,18125,21495,21138,21657,19978,21497,19447,20487,20025,21424,18622,20864,21655 Array
(
[0] => 22612
[1] => 21426
[2] => 20687
[3] => 22701
[4] => 21761
[5] => 18125
[6] => 21495
[7] => 21138
[8] => 21657
[9] => 19978
[10] => 21497
[11] => 19447
[12] => 20487
[13] => 20025
[14] => 21424
[15] => 18622
[16] => 20864
[17] => 21655
)