12-04-2008, 11:14 PM
|
#3 (permalink)
|
|
The Addict
Join Date: Apr 2008
Posts: 200
Thanks: 18
|
Quote:
Originally Posted by h0ly lag
Personally, I refuse to use tables for actual layout. Divs and spans for design with some nice CSS. IMO tables are best reserved for presenting data.
|
yes, same here, i oftenly use tables unless i will be representing some data.
I dont really get what you mean here.
Quote:
|
but when it comes to time insert server side code and you have like 10,000 lines of tr's and td.. how do u they do it??
|
depending on the programmer on what code he will be inserting. If i will output some data from the database to a particular column this is the way im outputting it.
PHP Code:
<tr> <td><?php echo "something to output"; ?></td> </tr>
We can also insert script outside html tags or even outside the starting <html> tag.
PHP Code:
<?php
session_start(); if (....) { .... }
?> <html>
....
</html>
Hope this what you mean.
|
|
|
|