Código PHP:
<?php
$consulta="SELECT tipo_id, tipo_nombre FROM tipo";
$resultado=mysql_query($consulta);
while ($fila2=mysql_fetch_array($resultado)){
?>
<table width="200" border="0">
<tr>
<th scope="col" width="70"><a href="productos.php?tipo_id=<?php echo ($fila2['tipo_id']); ?>">producto <?php echo ($fila2['tipo_id']); ?></a> </th>
</tr>
</table>
<?php
}
?>