| Colour Code MySQL Statements
|
brotherhood of LAN

msg:4250256 | 1:05 pm on Jan 7, 2011 (gmt 0) | I would like to colour code MySQL statements for displaying on a webpage, I think using colours helps with looking at the syntax. Does anyone know of a tool that does this? PHP has something similar with the PHP -s flag that outputs code with coloured <font> tags.
|
Demaestro

msg:4250302 | 3:23 pm on Jan 7, 2011 (gmt 0) | I have seen quite a few tools that will format sql statements. Adding line break and indentations for readablility. It is likely that at least one of them would offer a colour option. They usually come under the name SQL tidy or similar.
|
brotherhood of LAN

msg:4250308 | 3:26 pm on Jan 7, 2011 (gmt 0) | Excellent, I see an online tool that'll do the job for me. Thanks.
|
|
|