q select pid from dex_product where pid<>'19577' and ( pcharacter='549' ) and pactivate='1' order by rand() limit 18 relate ,22813,19590,21219,16589,16560,19599,23460,16552,19609,16591,19543,19807,19589,19598,16551,16564,21842,16575 Array
(
[0] => 22813
[1] => 19590
[2] => 21219
[3] => 16589
[4] => 16560
[5] => 19599
[6] => 23460
[7] => 16552
[8] => 19609
[9] => 16591
[10] => 19543
[11] => 19807
[12] => 19589
[13] => 19598
[14] => 16551
[15] => 16564
[16] => 21842
[17] => 16575
)