#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2000
    Posts
    0
    Rep Power
    0
    Please help me with a way out...
    my problem is that i have a database with names of my friens and their website,
    i want to display them in three colomns i.e.

    1 2 3
    4 5 6
    7 8 9
    10 11 12

    an so on....

    Please show me how to do it.

    Gratefully

    Kishore
  2. #2
  3. Banned (not really)
    Devshed Supreme Being (6500+ posts)

    Join Date
    Dec 1999
    Location
    Brussels, Belgium
    Posts
    14,642
    Rep Power
    4492
    Just create a loop that puts each website into it's own <td>, then with a seperate count, every third time through the loop, end the table row and start another </tr><tr>. The trick is if you only have 11 websites,then how do you make that last cell with no data. Browsers will render it differently based on how you do it.

    Come up with some code and post back with specific problems and someone will help you.

    Thank you for calling.

    ---John Holmes...
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2000
    Posts
    0
    Rep Power
    0
    Thanks I just made it.

IMN logo majestic logo threadwatch logo seochat tools logo