# Error Line 54, Column 350: general entity "nome" not defined and no default entity.
…load.php?arquivo=fotos/_DSC7714.JPG &nome= lorenzi'>Download</a></td><td><a h
This is usually a cascading error caused by a an undefined entity reference or use of an unencoded ampersand (&) in an URL or body text. See the previous message for further details.
# Error Line 54, Column 354: reference to entity "nome" for which no system identifier could be generated.
This is usually a cascading error caused by a an undefined entity reference or use of an unencoded ampersand (&) in an URL or body text. See the previous message for further details.
Line 54, Column > 80: XML Parsing Error: EntityRef: expecting ';'.
Pergunta
Guest Marcelo de lorenzi
Pessoal é o seguinte tenho uma tabela dinamica que é carregada toda vez que entro no sistema:
<div class="dconsulta2"> <?php /*popula a tabela com os usuarios cadastrados*/ include "conf.php"; $res = mysql_query("select * from usuario"); echo "<table> <thead><tr><th class='nomeusuario'>NOME</th><th class='login'>LOGIN</th> <th class='admin'>ADMIN</th><th class='foto'>FOTO</th><th>DOWNLOAD</th><th class='editar'>EDITAR</th></tr></thead>"; while($escrever=mysql_fetch_array($res)){ echo "<tr><td>" . $escrever['nome'] . "</td><td>" . $escrever['login'] . "</td><td>" . $escrever['admin'] . "</td> <td>" . $escrever['foto'] . "</td><td><a href='download.php?arquivo=". $escrever['foto'] ."&nome=". $escrever['login']."'>Download</a></td><td>"; printf("<a href=\"java script:usuarioAlterar('%s','%s','%s','%s','%s')\">Editar</a></td></tr>", $escrever['id_usuario'], $escrever['nome'], $escrever['login'],$escrever['admin'],$escrever['foto']); } echo "</table>"; ?> </div>so que quando vou validar o html gerada da varios erros ak :
<a href='download.php?arquivo=". $escrever['foto'] ."&nome=. $escrever['login]."'>Download</a>
erros do tipo :
# Error Line 54, Column 350: general entity "nome" not defined and no default entity.
…load.php?arquivo=fotos/_DSC7714.JPG &nome= lorenzi'>Download</a></td><td><a h
This is usually a cascading error caused by a an undefined entity reference or use of an unencoded ampersand (&) in an URL or body text. See the previous message for further details.
# Error Line 54, Column 354: reference to entity "nome" for which no system identifier could be generated.
….php?arquivo=fotos/_DSC7714.JPG &nome= lorenzi'>Download</a></td><td><a href=
This is usually a cascading error caused by a an undefined entity reference or use of an unencoded ampersand (&) in an URL or body text. See the previous message for further details.
Line 54, Column > 80: XML Parsing Error: EntityRef: expecting ';'.
…'nomeusuario'>NOME</th><th class='login'>LOGIN</th> <th class='admin'>ADMIN</…
alguém pode me ajudar:
este erros se repetem a cada linha da minha tabela
Link para o comentário
Compartilhar em outros sites
4 respostass a esta questão
Posts Recomendados
Participe da discussão
Você pode postar agora e se registrar depois. Se você já tem uma conta, acesse agora para postar com sua conta.