La tabla esta dentro de un while, while es un bucle, quizas por eso se repiten los botones. Intenta sacando el while..
Almacena el array de la misma forma:
$reg = mysql_fetch_array($result)
y abajo todo el contenido que pusiste en el while.
Código PHP:
Ver original
echo "<table border='1px' text-align='center'>";
echo "<tr>";
echo "<td>";echo 'Bienvenido, '.$_SESSION['ncompleto'];
echo "</td>";
echo "<td>";
echo '<a href="logout.php" >(Salir)</a> ';
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td colspan='2' align='center'>Examenes</td>";
echo "</tr>";
echo "<tr>";
echo "<td>";
echo '<input type="button" value="Ver examenes." onclick="window.location.href=\'examenes/verexamenes.php\'"/>';
echo "</td>";
echo "<td>";
echo '<input type="button" value="Agregar examenes." onclick="window.location.href=\'examenes/altas/formAltasDeExamenes.php\'"/>';
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td colspan='2' align='center'>Personas</td>";
echo "</tr>";
echo "<tr>";
echo "<td>";
echo '<input type="button" value="Ver personas." disabled="true"/>';
echo "</td>";
echo "<td>";
echo '<input type="button" value="Agregar personas." onclick="window.location.href=\'persona/altaspersona/altapersona.htm\'"/>';
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td colspan='2' align='center'>Profesores</td>";
echo "</tr>";
echo "<tr>";
echo "<td>";
echo '<input type="button" value="Ver profesores." disabled="true"/>';
echo "</td>";
echo "<td>";
echo '<input type="button" value="Agregar profesores." disabled=tue/>';
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td colspan='2' align='center'>Alumnos</td>";
echo "</tr>";
echo "<tr>";
echo "<td>";
echo '<input type="button" value="Ver alumnos." disabled="true"/>';
echo "</td>";
echo "<td>";
echo '<input type="button" value="Agregar alumnos." disabled=tue/>';
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td colspan='2' align='center'>Grupo</td>";
echo "</tr>";
echo "<tr>";
echo "<td>";
echo '<input type="button" value="Ver grupos." disabled="true"/>';
echo "</td>";
echo "<td>";
echo '<input type="button" value="Agregar grupos." disabled=tue/>';
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td colspan='2' align='center'>Instituto.</td>";
echo "</tr>";
echo "<tr>";
echo "<td>";
echo '<input type="button" value="Ver instituto." disabled="true"/>';
echo "</td>";
echo "<td>";
echo '<input type="button" value="Agregar instituto." disabled=tue/>';
echo "</td>";
echo "</tr>";
echo "</table>";
Probalo asi, saludos!