I don't know what you want in each col, but the reason you are getting duplicate info is because you have the same printf in each cell.
echo "<tr><td>";
printf("%s <br> %s <br> %s <br> %s ", $row["name"],$row["address"]);
//I removed tel and type from here.
echo "</td>";
// this is the new code
echo "<td>\n";
// printf for second col goes here
printf("%s <br> %s <br> %s <br> %s ", $row["tel"],$row["type"]);
//I removed namw and address from here.
echo "</td>\n";
// end of new code
echo "</tr>";
}
echo "</TABLE>\n";
}
That same idea can be used to add as many columns to your table as you would like, just don't end the <tr> till the end of the loop.
Gav