'; $qcbloga=mysql_fetch_array(mysql_query("select * from blogs where usern='$id'")); if($qcbloga['rssnum']){$rssn=(int)$qcbloga['rssnum'];}else{$rssn='10';} $qca=mysql_query("select * from posts$ptnum where weblog='$id' and status='1' order by id desc limit $rssn"); ?> ncho03.noblog.ir http://ncho03.noblog.ir noblog.ir fa noblog.ir noblog.ir ",">",$tx); //$tx=strip_tags($tx); //$tx=str_replace(" ","",$tx); //$tx=str_replace("&","",$tx); //$tcode = str_replace("<", "<", $post['ptext']); //$tcode = str_replace(">", ">", $tcode); //$tcode = str_replace("\"", """, $tcode); $tcode = str_replace("'", "'", $post['ptext']); $tcode = str_replace(" ", " ", $tcode); $tcode = strip_tags($tcode); $tcode = trim($tcode); //$tcode = utf8_encode($tcode); echo $tcode; ?>