Código
<?php require("connect_db2.php"); function mostrarDatos($resultados) { if($resultados !=NULL){ echo "<tr>"; echo "<td>".$resultados['nombre']."</td>"; echo "<td>".$resultados['descripcion']."</td>"; echo "</tr>"; } else { echo "<br/>No hay mas datos<br/>"; } } echo "<table> <tr> <th>Nombre</th> <th>Descripcion</th> <th>Archivo</th> </tr>"; mostrarDatos($fila); } ?>