mert, it is working now thanks to you.
Thank you for replies
thank you for your reply however,
with this code ($category output is like 3,6,4);
$articleOption['post_category'] = $category;
there is still error
Warning: array_filter() expects parameter 1 to be array, string given in C:\Program Files\EasyPHP-5.3.7RC4\www\wordpress\wp-includes\post.php on line 2464