I want to put some php code on my website, where I can find a free script that will format it (displaying it in colors like in a PHP editor)?
<?php highlight_string('<?php phpinfo(); ?>'); //echo the formated text $formated = highlight_string('<?php phpinfo(); ?>',true); //save for later echo $formated; ?> PHP: http://www.php.net/highlight_string