Hi all,
I have on my site a part where users' can submit articles and no doubt their articles will contain code. Code is wrapped inside of [code] tags, i.e. [code]<?php echo "hi"; ?>[/code]
You can use any number of the bbcode parsing classes available to take care of this.
http://www.phpclasses.org
-- Burhan Khalid phplist[at]meidomus[dot]com http://www.meidomus.com
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php