$array=1; $array=2. $str=implode(',',array); //imolde it into $str; $args=array( 'post_in'=>array($str), //post_in=>array(1,2) / /example 'post_status'=>'publish' ); $bios = new WP_Query($args);
I've an assortment Now i wish to put $str in publish__in How to get it done can any body let me know ? Must I use eval? If that's the case, wouldso would I actually do it?