jasper182 Posted January 15, 2007 Share Posted January 15, 2007 I'm trying to show some php code in a textarea, and I'd really like it to have syntax highlighting. I have found a function called highlight_string() that works fine for normal text, but it hasn't worked for me at all with textareas. Is there something else that I can use to do this? Thanks. Quote Link to comment Share on other sites More sharing options...
matto Posted January 15, 2007 Share Posted January 15, 2007 You would need to use CCS to do that, but I think you wouldn't have much luck having various colors in the one textarea...... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.