Ver Mensaje Individual
  #1 (permalink)  
Antiguo 25/07/2008, 08:05
Avatar de jmillan
jmillan
 
Fecha de Ingreso: julio-2008
Mensajes: 60
Antigüedad: 16 años, 4 meses
Puntos: 0
error al validar mi xhtml

Estoy validando mi xhtml en http://validator.w3.org y me sale estos errores sera que me pueden ayudar ??



# Error Line 69, Column 164: general entity "id" not defined and no default entity.

…<a href='noticia.php?categoria=Tenis&id=162'><img src='/imagenes/fle_r.gif' b



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.
# Warning Line 69, Column 166: reference not terminated by REFC delimiter.

… href='noticia.php?categoria=Tenis&id=162'><img src='/imagenes/fle_r.gif' bor



If you meant to include an entity that starts with "&", then you should terminate it with ";". Another reason for this error message is that you inadvertently created an entity by failing to escape an "&" character just before this text.
# Warning Line 69, Column 166: reference to external entity in attribute value.

… href='noticia.php?categoria=Tenis&id=162'><img src='/imagenes/fle_r.gif' bor



This is generally the sign of an ampersand that was not properly escaped for inclusion in an attribute, in a href for example. You will need to escape all instances of '&' into '&amp;'.
# Error Line 69, Column 166: reference to entity "id" for which no system identifier could be generated.

… href='noticia.php?categoria=Tenis&id=162'><img src='/imagenes/fle_r.gif' bor



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.



dejo parte de mi codigo


echo "<h1>Titulares</h1>";
echo "<table class='titulares' width='620' border='0' cellpadding='3' cellspacing='0' >";
$prueba = tit_x_categ ();
while ($fila =mysql_fetch_array($prueba)) {
if($cont%2==0){ $color='#8CBDDC';}else{ $color='#4690BF';}

echo "<tr bgcolor='",$color,"'>";
echo "<td><a href='noticia.php?categoria=",$fila['categoria'],"&id=",$fila['not_ID'],"'><img src='/imagenes/fle_r.gif' border='0' alt=''/>",$fila['notFecha'], "<img src='/imagenes/mi_separador.gif' border='0' alt='' />",$fila['notTitulo'],"</a></td>";
echo "</tr>";
$cont++;
}?>
</table>