40) ? substr($text,0,40) . "..." : $text; $tag = array(); $tag = split(',',$tags); $post = array(); $post['post_title'] = trim($title); $post['post_content'] = clickable(trim($text)); for ($i=0;$i