Colleagues,
Unfortunately I do not have any code for this doubt, as I do not know much about jquery, but I have a page where I bring the results of a mysql database, but in some cases the result takes a while to appear. How would I make a message appear (please wait, data being processed) or loading gif so the results do not appear?
I'm bringing the results as follows:
View-users.php page
<html>
.....
<h2>Relação dos usuários cadastrados</h2>
<?php echo $metodos->visualizarUsuarios(); ?>
.....
</html>
In $ methods-> ViewUsers () I bring the results of a query procedurally using mysqli _ ().
public function visualizarUsuarios(){
....
$sqlVisualizar = mysqli_query($this->conexao,"SELECT * FROM visualizar_usuarios");
while($jmVisualizar = mysqli_fetch_object($sqlVisualizar)){
// Resultados
}
}