You could make a skin/templet:

Example:
PHP Code:

function table_header(){
    
$html "<table><tr>"
    
$html .= "<td>Col 1</td><td>Col 2</td><td>Col 3</td>";
    
$html .= "<td>Col 4</td><td>Col 5</td><td>col 6</td>"
    
$html .= "<td>col 7</td>";
    
$html .= "</tr>";
    
    return 
$html;
}

function 
row($var1="",$var2="",$var3="",$var4="",$var5="",$var6="",$var7=""){
    
$html "<tr>"
    
$html .= "<td>" $var1 "</td><td>" $var2 "</td><td>" $var3 "</td>";
    
$html .= "<td>" $var4 "</td><td>" $var5 "</td><td>" $var6 "</td>."
    
$html .= "<td>" $var7 "</td>"
    
$html .= "</tr>";

    return 
$html;
}


# call...
echo table_header();

loop
    
echo row($1var, $2var, $3var, $4var, $5var, $6var, $7var);
end loop

echo "</table>"
Is that what your looking for ?

If you want to skip a col in a row you wold just do...
PHP Code:
    echo row($1var, "&nbsp;", $3var, $4var, $5var, "&nbsp;", $7var); 
And it will add nothing to that cell... you could just use a double quote but the some browser dont like compleatly empty cells so the & n b s p ;works best (im my opion).



_

_