Ok,
probe con lo ke me dijiste, y en el formulario no me servia, asi ke cree otro archivo de prueba asi:
Código PHP:
<?
$comment = "
[ code ]<?
strtoupper('Fire-Project.com');
?>[ /code ]
";
$comment = htmlspecialchars($comment);
$comment = ereg_replace('\[code\](.*)\[/code\]',"<table width=95% cellspacing=0 cellpadding=0 border=0 bgcolor=e2e2e2 align=center><tr><td>".highlight_string("<? \\\\1 ?>",true)."</td></tr></table>",$comment);
$comment = nl2br($comment);
echo $comment;
?>
y ahora me crea la tabla, pero dentro d la tabla sale este error en azul:
Código PHP:
<?
Warning: Unexpected character in input: ' \\ ' (ASCII=92) state=1 in c:appservwwwtestprueba.php on line 11
1 ?>
se me ocurre algo, pero no se si se pueda: es posible sacar a " \\1 " y tratarlo como una variable para poder acomodarlo y que no se vea afectado por el htmlspecialchars que esta arriba?