Estoy teniendo problemas al mezclar el html y el php, el error es unicamente de sintaxis y hace que los botones no se vean dentro de el "" como realmente deberían verse, soy nuevo en php asi que disculpen el desastre. cualquier sugerencia sera agradecida
<table>
<thead>
<caption>Agrupacion: Afro Latino</caption>
<tr class="tituloTabla">
<td>Nombre</td>
<td>Apellido</td>
<td>Cedula</td>
<td>Direccion</td>
<td>Telefono</td>
<td class="columnaImagen"><img id="editarRegistro" src="../../img/editar.png"></td>
<td class="columnaImagen"><img id="borrarRegistro" src="../../img/borrar.png"></td>
</tr>
</thead>
<tbody>
<?php
$mRows="";
while ($row=$resultado->fetch_assoc()) {
$mRows.="<tr>
<td>$row[nombre]</td>
<td>$row[apellido]</td>
<td>$row[cedula]</td>
<td>$row[direccion]</td>
<td>$row[telefono]</td>
<td>"?><form method="GET" action="../../php/editarEstudiante.php"> <button type="submit"> Editar </button> </form><?php"</td>
<td> <form method="GET" action="../../php/editarEstudiante.php" ><button type="submit"> Borrar </button> </form> <?php "</td>
</tr>";
}
echo $mRows;
}
else {
?> <h3 id="errorTablas">Ningun usuario registrado</h3> <?php
}
?>
</tbody>
</table>