0
I am making a query in a table that has a blank value(student:note). On one page I do the function with select and play the array on a Return to call on another page, but I can’t delete the blank value to print only those that have dice.
$valor = dados_aluno($mysqli);
foreach($valor as $resultado) {
$nome_aluno = $resultado[1];
$nota = $resultado[2];
}
Unfortunately it didn’t work here, it didn’t print anything, nor the positives are printing.
– Xiro Nakamura
$nota
is always null, or before showed something? Gave some error or the page is working normally, but no longer only show the results?– Leite
I took the keys and it worked. thank you very much for the collaboration
– Xiro Nakamura
use Empty!!!
– novic
I must have been changing it when you wrote the comment :)
– Leite