The title says it all, is there a library or source code that's GPL that can turn a SQL statement into beautified HTML?
I'd even settle for some PHP or Java code that I can port to .NET
Tried google, but couldn't find any free sample code. Thanks.
The title says it all, is there a library or source code that's GPL that can turn a SQL statement into beautified HTML?
I'd even settle for some PHP or Java code that I can port to .NET
Tried google, but couldn't find any free sample code. Thanks.
Try SyntaxHighlighter.
That link is not working for me at the moment. Older version here.
Beautified HTML, similar to how stack overflow highlights code? I've used SyntakHighlighter a lot to beautify my code on pages. It's javascript so it might not meet your requirements if you have to execute it server-side, but it's certainly one of the more popular ways.
If you can't run client-side then you could always follow their logic for highlighting SQL.