Forum Moderators: open

Message Too Old, No Replies

HTML formatting for alphabetized list of words

         

mudogg80

4:09 pm on Sep 19, 2007 (gmt 0)

10+ Year Member



I have database table that I can access a long list of keywords, thats no problem...what i want to do with that list is separate by A, B, C..etc. into 4 columns across.
For example:

A
able
acre
anchor
animal

b
bay
bear
boy
brave

Any ideas on the best way to format?

Thanks in advance

Marshall

4:23 pm on Sep 19, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



mudogg80,

You may get better response to this question if you post it in either the PHP [webmasterworld.com] forum or Database [webmasterworld.com] forum.

Marshall

BlobFisk

4:39 pm on Sep 19, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi mudogg80,

There's no way of doing this with HTML alone. The best would be to get your backend to send them through to the browser with the correct sorting.

There are some JavaScript solutions for doing this also.

HTH