Good morning.
Within a <tr>
tag there are about 15 <td>
tags (information coming from the database), not all of them are being displayed. Each <tr>
has a <td>
with the option to click and a modal open with all the necessary information.
How do I get all the information that is present in <td>
of each <tr>
specified?
<?php $professoresListados = buscarProfessor($conexao);
foreach($professoresListados as $professor)
{
echo "
<tr>
<td class='infoPhp' id='{$professor['idProfessor']}'>{$professor['idProfessor']}</td>
<td><img src='../../../Accipiter/Imagens/Professor/noimage.jpg' class='imgTabela'></td>
<td>{$professor['nomeProfessor']}</td>
<td class='non759'>{$professor['emailProfessor']}</td>
<td class='non759'>{$professor['cpfProfessor']}</td>
<td style='cursor: pointer;' id='{$professor['idProfessor']}' class='atribSession' onclick='capturarId(this.id)'><i class='fa fa-sign-in' aria-hidden='true'></i></td>
</tr>";
}
?>
The <td class='non759'>
is not displayed to the user. But when you click on <td>
of visualization a modal opens and all information is found. How to get all data from within <tr>
?