I'm doing a query on a table that has a blank value (student: note). In a page I do the function with select and set the array on a return to call on another page, but I can not delete the blank value to print only those that have data.
$valor = dados_aluno($mysqli);
foreach($valor as $resultado) {
$nome_aluno = $resultado[1];
$nota = $resultado[2];
}