2
Colleagues,
Unfortunately I have no code for this doubt, because I do not know much jquery, but I have a page where I bring the results of a mysql database, but in some cases the result takes a little to appear. How I would make a message appear (wait, data being processed) or loading gif eqto the results do not appear?
I’m bringing the results up as follows:
Page view-users.php
<html>
.....
<h2>Relação dos usuários cadastrados</h2>
<?php echo $metodos->visualizarUsuarios(); ?>
.....
</html>
Within $methods->visualise() I bring the results of a query procedural using mysqli_().
public function visualizarUsuarios(){
....
$sqlVisualizar = mysqli_query($this->conexao,"SELECT * FROM visualizar_usuarios");
while($jmVisualizar = mysqli_fetch_object($sqlVisualizar)){
// Resultados
}
}
You are loading the data via Ajax?
– Artur Trapp
Hello Arthur, we are not using charging via Ajax.
– user24136