Código PHP:
  
1- <?php
2- echo ' Hola ';
3- ?>    para colorear yo uso esto:
Código PHP:
   function bb_php()
{
 
 
$str = str_replace("]\n", "]", $str);
$str = str_replace("<", "<", $str);
$str = str_replace(">", ">", $str);
$str = str_replace("&", "&", $str);
$str = str_replace(""", "\"", $str);
$str = str_replace("[br]", "<br>", $str);
$match = array('#\[code\](.*?)\[\/code\]#se');
$replace = array("'<div class=\"codeheader\">Código:</div><table width=\"90%\" class=\"code\"><tr><td>'.highlight_string(stripslashes('$buffer, $1'), true).'</table>'");
return preg_replace($match, $replace, $str);
}
} 
     
 

