Version: 1
Type: Function
Category: HTML
License: GNU General Public License
Description: This function allows you to create a table inside a table.
<?php function insetTable($color,$title,$content,$width="100%") { $outPut = "n<!-- Start Inset Table -->n"; $outPut .= "<table border="0" cellpadding="0" cellspacing="0" width="$width">n"; $outPut .= "<td bgcolor="$color" colspan="3" align="center">$title</td>"; $outPut .= "n<tr>n"; $outPut .= "<td colspan="3" align="left">"; $outPut .= "$content"; $outPut .= "</td>n"; $outPut .= "</tr>n"; $outPut .= "</table>n"; $outPut .= "<!-- End Inset Table -->n"; return $outPut; } ?>