homepage Welcome to WebmasterWorld Guest from 50.16.108.167
register, login, search, subscribe, help, library, PubCon, announcements, recent posts, open posts,
Pubcon Website
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / Databases
Forum Library : Charter : Moderators: physics & whoisgregg

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.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
WebmasterWorld ® and PubCon ® are a Registered Trademarks of Pubcon Inc.
© Pubcon Inc. 1996-2012 all rights reserved