AN-net
02-14-2005, 02:47 AM
ok for some reason for my preview news code the bbcode_parse2 function cuts off all the text except for the first character. i need help!!
here is my code:
if($_POST['preview'])
{
$_REQUEST['do']= "newnews";
$show['preview']= TRUE;
$newstext= htmlspecialchars_uni($newstext);
require_once('./includes/functions_bbcodeparse.php');
$preview['text']= parse_bbcode2($newstext, 0, 1, 1, 1);
$newstitle= htmlspecialchars_uni($newstitle);
}
i need help please!!
here is my code:
if($_POST['preview'])
{
$_REQUEST['do']= "newnews";
$show['preview']= TRUE;
$newstext= htmlspecialchars_uni($newstext);
require_once('./includes/functions_bbcodeparse.php');
$preview['text']= parse_bbcode2($newstext, 0, 1, 1, 1);
$newstitle= htmlspecialchars_uni($newstitle);
}
i need help please!!