Set colspan

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
xionhack
Forum Contributor
Posts: 100
Joined: Mon Nov 10, 2008 9:22 pm

Set colspan

Post by xionhack »

Hello. I am making some tables that are generated from some values in a database.

The is always 1 word in the top of the table (1st row) and then some values on the 2nd row. Some tables on the 2nd row have 3 columns, some 4, some 5, etc... How can I make the colspan value to be set automatically? Thanks!
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Re: Set colspan

Post by Benjamin »

What have you tried? Normally we don't write people code from scratch. Where are you stuck?
Post Reply