 |
 |
|
|
 |
|
|
 |
|
php.com.hr > Source > PHP highlight |
PHP highlight
Funkcija vraća PHP sintaksu koloriziranu unutar diva.
<? function phphighlight($text)
{
$ntext .= "<div style= background-color:#FBFBFB>";
$ntext .= highlight_string($text, TRUE);
$ntext .= "<br></div>\n";
return $ntext;
}
?>
|
Source
|
|
|
© 2004 - 2005 php.com.hr
|