Forum Moderators: coopster
I can see using DIVs and CSS for creating layouts, which I do, but for outputing data in a neat fashion it seems it would be much more complex and wasteful in PHP/Mysql using DIVs rather than just plain old fashioned tables. I know I could do it in DIVs if needed, but is it still ok to use tables or should we "upgrade" everything to DIVs?
[edited by: CWebguy at 7:25 pm (utc) on Oct. 18, 2007]
We do it, but that’s why we hire a CSS wizard for the CSS style and layout.
<edit>
Typo
</edit>
It's perfectly acceptable to use tables to output tabular data from MySQL. That's what tables are for. ;)
Perfecto!
When I think about it, databases are in tables. They are organized into columns and rows and it would those be perfect to display them using tables (which match the same structure) rather than divs which don't.
[edited by: CWebguy at 4:40 pm (utc) on Oct. 19, 2007]