homepage Welcome to WebmasterWorld Guest from 54.204.249.184
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / Databases
Forum Library, Charter, Moderator: open

Databases Forum

    
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.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Databases
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved