q select pid from dex_product where pid<>'22976' and ( pcharacter='191' ) and pactivate='1' order by rand() limit 18 relate ,18726,8477,18336,18113,6436,8546,6899,6945,6292,7208,5557,5558,7323,5725,12052,6694,5559,6058 Array
(
[0] => 18726
[1] => 8477
[2] => 18336
[3] => 18113
[4] => 6436
[5] => 8546
[6] => 6899
[7] => 6945
[8] => 6292
[9] => 7208
[10] => 5557
[11] => 5558
[12] => 7323
[13] => 5725
[14] => 12052
[15] => 6694
[16] => 5559
[17] => 6058
)