I need to send some sets of code which user enters through e-mail. The problem is mail’s cannot run javascript.. and it uses only inline styles.. so i need to parse the code in php for highlighting and adding it in the mail. Is there any good syntax highlighter to do that.
Share
check these two built in php functions http://php.net/highlight_file and http://php.net/highlight_string