A simplification of functions vanessaschissato at gmail dot com at 17-Oct-2006 05:04.
Since it had trouble keeping the code intact. (It removed /* )
function showCode($code) {
$code = highlight_string($code, true);
$code = explode("<br />", $code);
$i = "1";
foreach ($code as $line => $syntax) {
echo "<font color='black'>".$i."</font> ".$syntax."<br>";
$i++;
}
}