joao 'the system returns me a table with the referring results only that instead of showing me the normal result the system would change the background of the word that was searched, well the problem is the following I do not know if I can, or should I do this only with php, or should I use javascript, remembering that I am not asking for any code ready but rather the "best way"
follows the code for how the query results are displayed
while ($linha = $query->fetch(PDO::FETCH_ASSOC)) {
echo '<tr class="odd gradeX">';
echo '<td>' . $linha['NOME'] . '</td>';
echo '<td>' . $linha['EMAIL'] . '</td>';
echo '<td>' . $linha['LOGIN'] . '</td>';
echo '<td>' . $linha['DT_NASCIMENTO'] . '</td>';
echo '<td>' . $linha['DT_ULTIMOACESSO'] . '</td>';
echo '<td>' . $linha['IP'] . '</td>';
echo '</td>';
}
The code above generates the results of this table