View Full Version : the art of printing columns

09-25-2007, 06:36 PM
there are many ways to make this happend but what is the best way
of printing sql records in non divided number of columns-say 5 columns?

say you got 10,000 names and you want to print it in 5 columns,

that is a poor drawing of 12 records in 5 columns:
1 2 3 4 5
6 7 8 9 10
11 12
...every one of this 12 is a name

printing a name + checking if is there some ditails reffered to this name in other table column...:thumbsup:

09-26-2007, 02:16 PM
Use the MOD operator.

Also, please don't double post. You posted this same question in the MySQL Forum. Please pick 1 forum and, if necessary, the moderators can move it.

MOD Operator:

09-27-2007, 05:05 AM
the question was not realy with focus on asp...my bad...if the moderators can delete those Q it will be nice:D