I’m trying to code up a bb code system with a code tag
that produces
[php]
<?php $code // that looks echo "like this"; if ("there is an easy way"); { return("to do this"); } ?>[/php]
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