I decided that when I learn new stuff, I'm just going to post it here.
We've all seen the php syntax highlighting .. for example, built right into this form right?
PHP Code:
<?
echo "this is it!";
?>
well the php syntax to do this is:
PHP Code:
<?
// make sure you esape quotes if defining a string for syntax highlight printing
$string="<?
echo \"it is weird creating php code within php code\";
?>";
// now this will print $string with syntax highlighting
highlight_string($string);
?>