I'm trying to code up a bb code system with a code tag
that produces
Please let me know?
I've tried using highlight_string($tutorial) (this is the string that will contain bb code, that if [*code] tags are present, will be parsed to teh php colour system. However this doesn't work when I try it...it just echoes back actual script code as opposed to the intended string.
Thanks
that produces
PHP:
<?php
$code
// that looks
echo "like this";
if ("there is an easy way"); {
return("to do this");
}
?>
Please let me know?
I've tried using highlight_string($tutorial) (this is the string that will contain bb code, that if [*code] tags are present, will be parsed to teh php colour system. However this doesn't work when I try it...it just echoes back actual script code as opposed to the intended string.
Thanks