how to input a code snippit to a textarea and how to preview it using syntax highliting in a html page?

There are several sytnax highlighters available. Are you using a specific one that you need help with?

i like to use google-code-prettify.i store textarea values as a string in the database (use "pre" tags with code snippits)and just need to render code snippit parts as syntax highliting in another html page.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.