0
I’m having a problem when I have to show the database data and they’re empty because the name pops up and the blank space.
Nome: Pedro
Nome: Ricardo
Nome:
Nome:
Nome:
and wanted to know if it was possible to change this to show only the data Filled
<p><b>Nome :</b> '.$exibe["Nome1"].' <b> Função : </b>'.$exibe["Funcao1"].'</p>
<p><b>Nome :</b> '.$exibe["Nome2"].' <b> Função : </b> '.$exibe["Funcao2"].'</p>
<p><b>Nome :</b> '.$exibe["Nome3"].' <b> Função : </b> '.$exibe["Funcao3"].'</p>
<p><b>Nome :</b> '.$exibe["Nome4"].' <b> Função : </b> '.$exibe["Funcao4"].'</p>
<p><b>Nome :</b> '.$exibe["Nome5"].' <b> Função : </b> '.$exibe["Funcao5"].'</p>
<p><b>Nome :</b> '.$exibe["Nome6"].' <b> Função : </b> '.$exibe["Funcao6"].'</p>
<p><b>Nome :</b> '.$exibe["Nome7"].' <b> Função : </b> '.$exibe["Funcao7"].'</p>
<p><b>Nome :</b> '.$exibe["Nome8"].' <b> Função : </b> '.$exibe["Funcao8"].'</p>
Could you put the code in trouble? Have you tried one
trim()
?– rray
I changed the question. There are several names that may not be filled in
– ChrisAdler
I think it’s your poorly controlled loop. Put the code here so we can see the problem.
– LeoFelipe