How would I format the table with borders backgrounds etc.
printf("<table>");
do
{
$myrow = pg_fetch_row($result_set,$rows);
printf("<tr>");
for ($i=0; $i < $count_ch; $i++)
{
printf("<td>");
printf($myrow[$i]);
printf("</td>");
}
printf("</tr>");
$rows++;
}
while($rows < $rowsnum);
}