Ver Mensaje Individual
  #4 (permalink)  
Antiguo 10/09/2014, 13:18
teudiss
 
Fecha de Ingreso: abril-2010
Mensajes: 96
Antigüedad: 14 años
Puntos: 0
Respuesta: Buscar valores repetidos en 2 archivos txt

Cita:
Iniciado por Dalam Ver Mensaje
Si pones el codigo de tu html te podria ayudar mas por que hay que tener encuenta varias cosas.
javier6_almansa esa idea me valdria si el segundo archivo a comparar no fueses codigo html .

Dalam, este seria el codigo html. "te pego aqui arriba los numeros en rojo que quiero buscar desde el otro array"


href="ver.asp?id=3870">523014</a>
href="ver.asp?id=3869">523013</a>
href="ver.asp?id=3868">523012</a>

Código HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Documento sin título</title>
</head>
<body>
<tr><td valign="top" width="33%" style="border-right:1px solid #746955">
<table width="150" border="0" align="center"><tr><td style="color:#352A16; font-weight:bold"><!--a class="noticias" href="ver.asp?cid="-->Ref. <span style="color:#ffffff"><a class="producto" href="ver.asp?id=3870">523014</a></span>
<!-- /a --></td></tr>
<tr><td align="center" onClick="javascript:(window.location.href='ver.asp?id=3870')" onMouseOver="style.cursor='hand'">
<img src="http://www.forosdelweb.com/f18/fotos/523014_449.jpg">
</td></tr>
<tr><td style="background-color:#732028;color:#FFFFFF;line-height:17px;" align="center">160 X 2,8 X 180 cm.</td></tr>
</table>
</td>

<td valign="top" width="33%" style="border-right:1px solid #746955">
<table width="150" border="0" align="center"><tr><td style="color:#352A16; font-weight:bold"><!--a class="noticias" href="ver.asp?cid="-->Ref. <span style="color:#ffffff"><a class="producto" href="ver.asp?id=3869">523013</a></span><!-- /a --></td></tr>
<tr><td align="center" onClick="javascript:(window.location.href='ver.asp?id=3869')" onMouseOver="style.cursor='hand'">
<img src="http://www.forosdelweb.com/f18/fotos/523013_448.jpg">
</td></tr>
<tr><td style="background-color:#732028;color:#FFFFFF;line-height:17px;" align="center">160 X 2 X 180 cm.</td></tr>
</table>
</td>

<td valign="top" width="33%">
<table width="150" border="0" align="center"><tr><td style="color:#352A16; font-weight:bold"><!--a class="noticias" href="ver.asp?cid="-->Ref. <span style="color:#ffffff"><a class="producto" href="ver.asp?id=3868">523012</a></span><!-- /a --></td></tr>
<tr><td align="center" onClick="javascript:(window.location.href='ver.asp?id=3868')" onMouseOver="style.cursor='hand'">
<img src="http://www.forosdelweb.com/f18/fotos/523012_447.jpg">
</td></tr>
<tr><td style="background-color:#732028;color:#FFFFFF;line-height:17px;" align="center">160 X 2,6 X 180 cm.</td></tr>
</table>
</td>
</tr>
</body>
</html>


Última edición por teudiss; 10/09/2014 a las 13:24