Page 1 of 1

New tags for SQL

Posted: Wed Nov 03, 2004 9:09 am
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?

Posted: Wed Nov 03, 2004 9:50 am
by scorphus
Well, I would say "Yep, that would be good.".

Posted: Wed Nov 03, 2004 9:55 am
by pickle
Syntax highlighting would be nice. I usually use [syntax=php][/syntax] tags for now, as they at least help organize the query.