q select pid from dex_product where pid<>'15186' and ( pcharacter='213' ) and pactivate='1' order by rand() limit 18 relate ,15908,18367,17512,11051,23586,11067,21747,13143,23568,11055,23685,2926,19949,19298,11058,23585,18685,24647 Array
(
[0] => 15908
[1] => 18367
[2] => 17512
[3] => 11051
[4] => 23586
[5] => 11067
[6] => 21747
[7] => 13143
[8] => 23568
[9] => 11055
[10] => 23685
[11] => 2926
[12] => 19949
[13] => 19298
[14] => 11058
[15] => 23585
[16] => 18685
[17] => 24647
)