New tags for SQL

We know you have an opinion on how things should be run around here. These are suggestions for the forums, and the website.This forum is not a place to ask for suggestions to your own coding (or otherwise) problems.

Moderator: General Moderators

Post Reply
swdev
Forum Commoner
Posts: 59
Joined: Mon Oct 25, 2004 8:04 am

New tags for SQL

Post by swdev »

Hi

We have the [p h p ] and [/ p h p ] tags for entering php code into posts, and this shows the code with syntax highlighting. This makes is easy to spot a lot of errors.

Would it be possible to do the same, but for SQL. I see a lost of posts here with plain SQL and think it would be nice to have sql tags (e.g. [sql][/sql]) so we could display syntax highlighted SQL.

what you do guys think?
User avatar
scorphus
Forum Regular
Posts: 589
Joined: Fri May 09, 2003 11:53 pm
Location: Belo Horizonte, Brazil
Contact:

Post by scorphus »

Well, I would say "Yep, that would be good.".
User avatar
pickle
Briney Mod
Posts: 6445
Joined: Mon Jan 19, 2004 6:11 pm
Location: 53.01N x 112.48W
Contact:

Post by pickle »

Syntax highlighting would be nice. I usually use [syntax=php][/syntax] tags for now, as they at least help organize the query.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
Post Reply