I am doing this:
return highlight_string("<?$codeText?>", TRUE);
but it's not working. I'm getting this:
<?function highlight_code ($langName, $codeText)
{
$langName = strtolower($langName);
require_once XOOPS_ROOT_PATH."/colorcode/HColor_Core.php";
if ($langName == 'php')
{
return highlight_string($codeText, TRUE);
}else{
$HColor = new HColorCore;
return $HColor->HighlightColor($langName,$codeText);}
}?>
Anyone know why the > isn't getting parsed? Thanks, Jeremy