Jump to content

Results in table


timmah1

Recommended Posts

last part of script

// clean up table - makes your code valid!
if($i < $max_columns)
{
    for($j=$i; $j<$max_columns;$j++)
        echo "<td> </td>";
}
?>
</tr>
</table>

must be

// clean up table - makes your code valid!
if($i > 0) // $i is always be less then $max_columns
{
    for($j=$i; $j<$max_columns;$j++)
        echo "<td> </td>";
}
?>
</tr>
</table>

Link to comment
https://forums.phpfreaks.com/topic/108596-results-in-table/#findComment-556950
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.