q select pid from dex_product where pid<>'22147' and ( pcharacter='113' ) and pactivate='1' order by rand() limit 18 relate ,19132,10453,22574,24526,15786,11470,20182,11535,13204,24525,11556,21790,1984,18211,11552,21711,15539,21017 Array
(
[0] => 19132
[1] => 10453
[2] => 22574
[3] => 24526
[4] => 15786
[5] => 11470
[6] => 20182
[7] => 11535
[8] => 13204
[9] => 24525
[10] => 11556
[11] => 21790
[12] => 1984
[13] => 18211
[14] => 11552
[15] => 21711
[16] => 15539
[17] => 21017
)