q select pid from dex_product where pid<>'22614' and ( pcharacter='537' ) and pactivate='1' order by rand() limit 18 relate ,23439,21761,20892,19566,21427,20692,18110,20025,22618,19447,19977,21424,23043,23163,22613,21758,20687,19446 Array
(
[0] => 23439
[1] => 21761
[2] => 20892
[3] => 19566
[4] => 21427
[5] => 20692
[6] => 18110
[7] => 20025
[8] => 22618
[9] => 19447
[10] => 19977
[11] => 21424
[12] => 23043
[13] => 23163
[14] => 22613
[15] => 21758
[16] => 20687
[17] => 19446
)